File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -340,6 +340,11 @@ doSomethingWithAbortSignal(signal);
340340
341341### ` scheduler.yield() `
342342
343+ ** WARNING: This section is out of date.** The API no longer supports directly
344+ specifying the priority and abort behavior, but rather inherits this state from
345+ the current task. See https://wicg.github.io/scheduling-apis/#dom-scheduler-yield
346+ for the up-to-date API and behavior.
347+
343348(See also the [ separate ` scheduler.yield() ` explainer] ( ./yield-and-continuation.md ) ).
344349
345350` scheduler.yield() ` can be used in any context to yield to the event loop by awaiting the promise it
Original file line number Diff line number Diff line change 11# ` scheduler.yield() `
22
3+ ** WARNING: This explainer is out of date.** The API no longer supports directly
4+ specifying the priority and abort behavior, but rather inherits this state from
5+ the current task. See https://wicg.github.io/scheduling-apis/#dom-scheduler-yield
6+ for the up-to-date API and behavior.
7+
38## Authors
49
510- [ Scott Haseley] ( https://github.com/shaseley )
You can’t perform that action at this time.
0 commit comments