About 118,000 results
Open links in new tab
  1. javascript - Understanding the Event Loop - Stack Overflow

    The js code that is executing is the last code that the host process picked up from the event loop. In your code you can basically do two things: run synchronous instructions, and schedule …

  2. What is the relationship between event loop and Promise

    Sep 23, 2017 · I am curious about the relationship between Event Loop and Promise. The demo exposes the question. I expected the p1 fulfilled appear in the middle, since they queue a task …

  3. Difference between microtask and macrotask within an event loop …

    Sep 18, 2014 · Although there's a microtask checkpoint in the event loop, this isn't where most developers will encounter microtasks. Microtasks are processed when the JS stack empties. …

  4. Understanding JS event loop and render cycles in browser

    Oct 2, 2023 · After watching these talks on the JS event loop and rendering in browsers (What the heck is the event loop anyway? and Web browser event loop, setTimeout, micro tasks, …

  5. What is the different between JavaScript Event loop and Node.js …

    The Nodejs event loop implementation differs from the browser-based event loop one. This is a huge point of confusion in the Nodejs community. While Nodejs uses the Google V8 as it's …

  6. Node.js Event loop - Stack Overflow

    Aug 29, 2014 · Is the Node.js I/O event loop single- or multithreaded? If I have several I/O processes, node puts them in an external event loop. Are they processed in a sequence …

  7. javascript - Nodejs Event Loop - Stack Overflow

    May 21, 2012 · Are there internally two event loops in nodejs architecture? libev/libuv v8 javascript event loop On an I/O request does node queue the request to libeio which in turn notifies the …

  8. event loop - Why is Node.js called single threaded when it …

    Jan 13, 2018 · Node.js maintains an event loop but then it also has by default four threads for the complicated requests. How this is single threaded when there are more threads available in …

  9. Relationship between event loop,libuv and v8 engine

    Apr 13, 2018 · Thus, event queue is part of event loop and are generated by event loop. V8 engine is used to execute the javascript code we write and libuv is a lbrary used to provide …

  10. javascript - What's an event-loop and how is it different than using ...

    Jul 17, 2010 · JS makes heavy use of events, and that's exactly what callbacks are about. Once the action is complete, an event is fired which triggers the callback. This is why it is often …