Skip to content
Unknown's avatar

Daniel Velasco (notes?)

  • Inicio

Tag: Node.js

Node.js event loop

The JavaScript event loop takes the first call in the callback queue and adds it to the call stack as soon as it’s empty.

JavaScript code is being run in a run-to-completion manner, meaning that if the call stack is currently executing some code, the event loop is blocked and won’t add any calls from the queue until the stack is empty again.

https://felixgerschau.com/javascript-event-loop-call-stack/
dvelben Uncategorized Leave a comment July 11, 2022July 12, 2022 1 Minute
Blog at WordPress.com.

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use. To find out more, including how to control cookies, see here: Cookie Policy.

Accept
365
  • Subscribe Subscribed
    • Daniel Velasco (notes?)
    • Already have a WordPress.com account? Log in now.
    • Daniel Velasco (notes?)
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar