Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node 事件循环 #39

Open
lyyh opened this issue Mar 8, 2019 · 0 comments
Open

Node 事件循环 #39

lyyh opened this issue Mar 8, 2019 · 0 comments

Comments

@lyyh
Copy link
Owner

lyyh commented Mar 8, 2019

六个阶段

每次Tick(循环)的每个阶段都有对应的异步回调队列,按照顺序执行阶段,当这个阶段的队列为空或者执行的回调函数数量到达系统指定的阈值。

Links

node官网资料
setTimeout和setImmediate在Node中的区别
浏览器和Node事件循环的区别

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant