Web platform features explorer

isInputPending()

This feature is discouraged. Consider using Scheduler API instead. For the rationale, see:

The navigator.scheduling.isInputPending() method checks if there are pending input events, such as touch or mouse events. This allows you to yield from long-running scripts that might be blocking user interaction.

Status

Discouraged

Browser support

  • Chrome 87 Released on 2020-11-17
  • Chrome Android 87 Released on 2020-11-17
  • Edge 87 Released on 2020-11-19
  • Firefox
  • Firefox for Android
  • Safari
  • Safari on iOS