BASELINE NowYouCanUse.com
Limited Availability
id: is-input-pending

isInputPending()

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.
Baseline Status: This feature is currently Limited and is missing in at least one major browser engine.
Desktop Browser Engine Support
Google Chrome
87
Supported
Mozilla Firefox
Unsupported
Apple Safari
Unsupported
Microsoft Edge
87
Supported
Mobile Browser Engine Support
Chrome Android
87
Firefox Android
Safari iOS
Specifications and References