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.
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
BCD tables only load in the browser
See also
- 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)