René's URL Explorer Experiment


Title: Async and threads

Open Graph Title: Async and threads

X Title: Async and threads

Open Graph Description: JavaScript is generally speaking single threaded (there are web workers and other such inventions, but these are generally considered separate processes, that share no address space with the main process). If a function needs to wait for some input (e.g., web request), you need to supply a callback function that gets executed when the data is available.

X Description: JavaScript is generally speaking single threaded (there are web workers and other such inventions, but these are generally considered separate processes, that share no address space with the main process). If a function needs to wait for some input (e.g., web request), you need to supply a callback function that gets executed when the data is available.

Mail addresses
makecode@microsoft.com

X: @msmakecode

direct link

Domain: makecode.com

DescriptionJavaScript is generally speaking single threaded (there are web workers and other such inventions, but these are generally considered separate processes, that share no address space with the main process). If a function needs to wait for some input (e.g., web request), you need to supply a callback function that gets executed when the data is available.
twitter:cardsummary
twitter:imagehttps://cdn.makecode.com/blob/4d9a6c8b1fa4c75911b2c468cb3ca1cdfb61fcb6/static/logo.svg
og:site_nameMicrosoft MakeCode
og:typewebsite
og:imagehttps://cdn.makecode.com/blob/4d9a6c8b1fa4c75911b2c468cb3ca1cdfb61fcb6/static/logo.svg
format-detectiontelephone=no
NoneIE=edge,chrome=1

Links:

Skip to main contenthttps://makecode.com/async#maincontent
About MakeCodehttps://makecode.com/about
Bloghttps://makecode.com/blog
Online Learninghttps://makecode.com/online-learning
Contact Ushttps://makecode.com/contact
Toolshttps://makecode.com/tools
Technical Docshttps://makecode.com/docs
JS Editor Featureshttps://makecode.com/js/editor
Programming Languagehttps://makecode.com/language
Async Functionshttps://makecode.com/async
Partial Flashinghttps://makecode.com/partial-flashing
Source Embeddinghttps://makecode.com/source-embedding
Updating Blockly Versionhttps://makecode.com/develop/blocklyupgrade
Accessibilityhttps://makecode.com/develop/accessibility
Profilinghttps://makecode.com/js/profiling
Debugging Hardwarehttps://makecode.com/develop/hw-debugging
Creating Targetshttps://makecode.com/target-creation
pxtarget.jsonhttps://makecode.com/targets/pxtarget
Defining Blockshttps://makecode.com/defining-blocks
Auto-generation of .d.tshttps://makecode.com/simshim
Static File Dropshttps://makecode.com/cli/staticpkg
Simulatorhttps://makecode.com/targets/simulator
Theming Editorhttps://makecode.com/targets/theming
Embedding resourceshttps://makecode.com/jres
Creating Extensionshttps://makecode.com/extensions
Getting startedhttps://makecode.com/extensions/getting-started
pxt.jsonhttps://makecode.com/extensions/pxt-json
Extension versioninghttps://makecode.com/extensions/versioning
Extension localizationhttps://makecode.com/extensions/localization
Extension approvalhttps://makecode.com/extensions/approval
Editor extensionshttps://makecode.com/extensions/extensions
GitHub Extension Authoringhttps://makecode.com/extensions/github-authoring
Writing Docshttps://makecode.com/writing-docs
Macroshttps://makecode.com/writing-docs/macros
Anchorshttps://makecode.com/writing-docs/anchors
Tutorialshttps://makecode.com/writing-docs/tutorials
User Tutorialshttps://makecode.com/writing-docs/user-tutorials
Skillmapshttps://makecode.com/writing-docs/skillmaps
Routinghttps://makecode.com/writing-docs/routing
Licensinghttps://makecode.com/writing-docs/licensing
Testinghttps://makecode.com/writing-docs/testing
Translationshttps://makecode.com/translate
Translation languageshttps://makecode.com/translate/languages
Localization fileshttps://makecode.com/translate/files
Parts to translatehttps://makecode.com/translate/parts
Translating markdownhttps://makecode.com/translate/markdown
Translator roleshttps://makecode.com/translate/roles
In context translationhttps://makecode.com/translate/in-context
Blocks Embeddinghttps://makecode.com/blocks-embed
Command Line Interfacehttps://makecode.com/cli
installhttps://makecode.com/cli/install
buildhttps://makecode.com/cli/build
bumphttps://makecode.com/cli/bump
deployhttps://makecode.com/cli/deploy
consolehttps://makecode.com/cli/console
gdbhttps://makecode.com/cli/gdb
staticpkghttps://makecode.com/cli/staticpkg
updatehttps://makecode.com/cli/update
pyconvhttps://makecode.com/cli/pyconv
hidserialhttps://makecode.com/cli/hidserial
hiddmesghttps://makecode.com/cli/hiddmesg
loginhttps://makecode.com/cli/login
Labshttps://makecode.com/labs
UF2 File Formathttps://github.com/microsoft/uf2
Accessibilityhttps://makecode.com/accessibility
Telemetryhttps://makecode.com/telemetry
Docshttps://makecode.com/docs
Technical Docshttps://makecode.com/docs
Async Functionshttps://makecode.com/async
generate TypeScript definitionhttps://makecode.com/simshim
Edit this page on GitHubhttps://github.com/Microsoft/pxt/blob/master/docs/async.md
Edit template of this page on GitHubhttps://github.com/Microsoft/pxt/blob/master/docs/SUMMARY.md
https://twitter.com/intent/follow?screen_name=MsMakeCode
https://www.youtube.com/channel/UCye7YlvFUUQ1dSy0WZZ1T_Q
Privacy & Cookieshttps://makecode.com/privacy
Terms Of Usehttps://makecode.com/termsofuse
Trademarkshttps://makecode.com/trademarks
https://makecode.com/
How do I add a new language? https://makecode.com/translate

Viewport: width=device-width,height=device-height,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0


URLs of crawlers that visited me.