-
Notifications
You must be signed in to change notification settings - Fork 916
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
$nextTick关于microtask优先于 (macro)task执行 #130
Comments
原来整体的script代码执行也是macroTask,那么microTask优先于macroTask执行也就说得通了。 |
根据 Tasks, microtasks, queues and schedules 中的介绍
根据 W3C 和 WHATWG living standard 所描述的 个人仍然觉得 @lz-lee 所言的当前 还是我理解有误? @HcySunYang @lz-lee |
nextTick 的实现
执行完一次(macro)task任务之后,会执行所有microtask。microtask优先于第二次(macro)task任务执行是否更合理。
The text was updated successfully, but these errors were encountered: