By the end of this article, you should be able to:
- Explain asynchronousness in node
- Describe single thread
- Differentiate single thread from multiple thread
- Appreciate asynchronous API and event in node js
Why is it a big deal Node js is asynchronous or event driven??
A familiar scenario to explain this thread thing is to compare thread to a waiter in a bar, where your programming environment is the bar. Hope you’re following?
Nonblocking I/O is low-level term with node developers; it is not much of a big term like you treat in your computer science class. It means your program can make a request for a network resource while doing something else, and then, when the network operation is done, a callback is set to handle the request when your program was busy.
**Joke Time : dedicated to my Nigerian youths**
If this country were to be sold, we would at least get a share.
Thank you again for reading. It takes courage to learn programming concepts without typing a code. But a popular adage says "bitter things are for strong people". Lol, so you are strong if you read this far.
The most important part is that this article helped you. I fit does, congrats.