Asynchronous programming
suggest changeIntroduction
Node.js is a runtime, not a language. Its I/O is asynchronous by default. Below are typical asynchronous call patterns.
Syntax
- doSomething([args], function([argsCB]) { /* do something when done */});
- doSomething([args], ([argsCB]) => { /* do something when done */ });
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents