forked from WICG/scheduling-apis
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove scheduler.yield() parameters (WICG#100)
By default, scheduler.yield() continuations inherit the priority and abort signal from the current task, but this behavior can be overridden by providing a signal or priority option. But it's not clear if this is necessary, and there are questions around the expectations of subsequent continuations (see WICG#96). To simplify the API, for now we're removing the yield() parameters, instead always using the inherited state. We can revisit this as use cases arise.
- Loading branch information
Showing
1 changed file
with
38 additions
and
120 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