GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • MDN
  • HTML: Markup language
  • Elements
  • Global attributes
  • Attributes
  • See all…
  • Responsive images
  • HTML cheatsheet
  • Date & time formats
  • See all…
  • SVG
  • MathML
  • XML
  • CSS: Styling language

This view

  • Original page
  • New address

GeezerVison is showing developer.mozilla.org — Scheduling - Web APIs | MDN

Scheduling

Deprecated

Avoid using this feature in new projects. The navigator.scheduling.isInputPending() method may incorrectly return false and is not the only case where you might expect to yield. This feature may be a candidate for removal from web standards or browsers.

Consider using the following features instead: Scheduler API.

  • See full compatibility
  • Learn more

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.

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

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

Browser compatibility

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)

Help improve MDN

Learn how to contribute

This page was last modified on Sep 27, 2024 by MDN contributors.

View this page on GitHub • Report a problem with this content
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.