MDN self-hosted library · e01.org

Scheduling

Prioritized Task Scheduling API

no runnable cells web-api-interface upstream source

Prioritized Task Scheduling API

The Scheduling object provides methods and properties to control scheduling tasks within the current document.

[!WARNING] The Scheduling interface 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.

Instance methods

  • isInputPending()
  • : Returns a boolean that indicates whether there are pending input events in the event queue, meaning that the user is attempting to interact with the page.

Example

See the Scheduling.isInputPending() page for a full example.

Specifications

Browser compatibility

See also