β

What is the different between JavaScript Event loo

User zangw - Stack Overflow 192 阅读

In JavaScript, the event loop is used in the engine. Here is one diagram to illustrate it from this article .

For Node.js, the event loop also implemented here. Quoting from this question .

The Node.js event loop runs under a single thread, this means the application code you write is evaluated on a single thread. Nodejs itself uses many threads underneath trough libuv, but you never have to deal with with those when writing nodejs code.

However, it is still abstract for me about node.js event loop.

作者:User zangw - Stack Overflow
most recent 30 from stackoverflow.com
原文地址:What is the different between JavaScript Event loo, 感谢原作者分享。

发表评论