This API enables developers to complete their work as fast as possible if the user isn't interacting, but respond to user input as fast as possible if input occurs.
Improve user responsiveness and main thread scheduling - by enabling developers to complete their work as fast as possible if the user isn't interacting, but respond to user input as fast as possible if input occurs.
Docs: https://github.com/WICG/is-input-pending
Samples: https://wicg.github.io/is-input-pending/#examples-of-usage
Explainers: https://github.com/WICG/is-input-pending