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

任务 vs 微任务 #18

Open
goldEli opened this issue Jul 30, 2019 · 0 comments
Open

任务 vs 微任务 #18

goldEli opened this issue Jul 30, 2019 · 0 comments
Labels
Javascript about Javascript

Comments

@goldEli
Copy link
Owner

goldEli commented Jul 30, 2019

  • 任务(task)处理: IOTimer
  • 微任务(Microstask)处理:PromiseMutationObserver
  • 微任务优先级高于任务,当 JS stack 清空,优先推入微任务

Tasks, microtasks, queues and schedules
Faster async functions and promises

@goldEli goldEli added the Javascript about Javascript label Jul 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Javascript about Javascript
Projects
None yet
Development

No branches or pull requests

1 participant