* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
9 lines
726 B
Markdown
9 lines
726 B
Markdown
# Asynchronous JavaScript
|
|
|
|
Asynchronous JavaScript allows code to start long-running operations, like network requests or timers, and continue executing other code while waiting for them to complete. JavaScript is single-threaded, so asynchronous patterns prevent the main thread from blocking. The main mechanisms are callbacks, Promises, and async/await.
|
|
|
|
Visit the following resources to learn more:
|
|
|
|
- [@article@Asynchronous JavaScript - MDN](https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Asynchronous/Introducing)
|
|
- [@video@What The Hack is Event Loop and Asynchronous JavaScript - JSConf](https://youtu.be/8aGhZQkoFbQ)
|
|
- [@video@Asynchronous JavaScript - JavaScript Visualized](https://youtu.be/eiC58R16hb8) |