Navigator: scheduling property
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The scheduling
read-only property of the Navigator
interface returns a Scheduling
object for the current document, which provides methods and properties to control scheduling tasks.
Warning:
The Scheduling
interface (which includes the isInputPending()
method) has been superseded by the Scheduler
interface, the features of which are better designed for addressing scheduling tasks. See Don't use isInputPending()
for more details.
Value
A Scheduling
object.
Example
See the Scheduling.isInputPending()
page for a full example.
Specifications
Specification |
---|
Early detection of input events # dom-navigator-scheduling |
Browser compatibility
Report problems with this compatibility data on GitHubdesktop | mobile | server | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
scheduling |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
- Experimental. Expect behavior to change in the future.
See also
Scheduler
interface- Prioritized Task Scheduling API
- Faster input events with Facebook's first browser API contribution on engineering.fb.com (2019)
- Better JS scheduling with isInputPending() on developer.chrome.com (2020)
- Optimizing long tasks on web.dev (2022)