Become a member
Sign in
Prateek Pandey
Prateek Pandey

Prateek Pandey

129 Following
126 Followers
  • Profile
  • Claps
  • Highlights

Highlighted by Prateek Pandey

See more

From JavaScript Event Loop Explained by Anoop Raveendran

So in the above code, even though setTimeout has a delay of 0s and the while loop runs for 3s, the exec() call back is stuck in the message queue. The while loop keeps on running on the call stack (single thread) until 3s has elapsed. And after the call stack becomes empty the callback exec() is moved to the call stack and executed.

From All About Node.Js You Wanted To Know ? by Pramod Chandrayan

Node JS Platform does not follow Request/Response Multi-Threaded Stateless Model. It follows Single Threaded with Event Loop Model. Node JS Processing model mainly based on Javascript Event based model with Javascript callback mech…

From All About Node.Js You Wanted To Know ? by Pramod Chandrayan

…w Request/Response Multi-Threaded Stateless Model. It follows Single Threaded with Event Loop Model. Node JS Processing model mainly based on Javascript Event based model with Javascript callback mechanism.

Claps from Prateek Pandey

See more

Leaving my dream job at Google

Sandesh Agrawal