puddlejumper26 / blogs

Personal Tech Blogs
4 stars 1 forks source link

Event Loop #177

Open puddlejumper26 opened 3 years ago

puddlejumper26 commented 3 years ago

image

image

macrotasks: 
script(整体代码),setTimeout,setInterval,setImmediate,I/O,UI rendering,event listner

microtasks: 
process.nextTick, Promises, Object.observe, MutationObserver

https://zhuanlan.zhihu.com/p/101374817