Spec review for scheduler.yield() #966
Labels
Focus: API design (complete)
Focus: Web architecture (complete)
Resolution: satisfied
The TAG is satisfied with this design
Milestone
こんにちは TAG-さん!
I'm requesting a TAG review of
scheduler.yield()
.scheduler.yield()
is an API for yielding control to the browser's event loop, which can be used to break up long tasks. Awaiting the promise returned byscheduler.yield()
causes the current task to yield, continuing in a new browser task. This can be used to improve responsiveness issues caused by long tasks. Continuations are prioritized to mitigate performance problems of existing alternatives.Further details:
You should also know that...
scheduler.postTask()
, previously reviewed hereThe text was updated successfully, but these errors were encountered: