-
Notifications
You must be signed in to change notification settings - Fork 47k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hoist suspending logic into outermost work loop
This hoists the logic for checking whether the work loop is suspended into the outermost work loop. Depending on certain conditions, we may choose to exit the work loop, wait for a promise to resolve, wait for microtasks to fire, and so on. It needs to be in the outermost work loop so we can break out of it. No intentional behavior change in this commit.
- Loading branch information
Showing
2 changed files
with
182 additions
and
168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.