← Back to release summary

Is-Input-Pending

Category
JavaScript
Type
New or changed feature
Status
Enabled by default (Chrome 87)
Intent stage
Shipped

Summary

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.

Motivation

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.

Standards & signals

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

View on chromestatus.com