彻底搞懂EventLoop事件循环机制(浏览器和Node EventLoop) | hengshuai's blog #85
ihengshuai
announced in
Announcements
Replies: 1 comment
-
本篇从eventloop的存在原因、作用以及不同宿主环境下的机制对比,由浅入深讲解了eventloop是什么、有什么用的。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
https://blog.usword.cn/frontend/js/eventloop.html
由于JavaScript是个单线程的语言,异步任务都会通过回调来解决单线程问题,JavaScript内部通过EventLoop事件循环机制来调度异步任务,本篇会对比浏览器的EventLoop和Node的EventLoop展开讲解
Beta Was this translation helpful? Give feedback.
All reactions