Scheduling

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

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

Instance methods

isInputPending() Experimental

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

Specification
Early detection of input events
# the-scheduling-interface

Browser compatibility

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
Scheduling
Experimental
isInputPending
Experimental

See also