Scheduling Class
The scheduling of a window (https://wicg.github.io/is-input-pending/#the-scheduling-interface, navigator.scheduling): Scheduling.IsInputPending tells a long script whether it should yield to let the input events be dispatched.
public sealed class SchedulingMethods
| Name | Description |
|---|---|
| IsInputPending(IsInputPendingOptions?) | Returns whether input events are waiting to be dispatched to the window (https://wicg.github.io/is-input-pending/#the-isinputpending-method), with PendingInputOptions.IsInputPending: false when the host does not set it, or when the document is not fully active. |
IsInputPending(IsInputPendingOptions?)
InputPending.csReturns whether input events are waiting to be dispatched to the window (https://wicg.github.io/is-input-pending/#the-isinputpending-method), with PendingInputOptions.IsInputPending: false when the host does not set it, or when the document is not fully active.
public bool IsInputPending(IsInputPendingOptions? isInputPendingOptions = null)Parameters
isInputPendingOptionsIsInputPendingOptions?- The options: whether the continuous events are considered.
Returns
bool Whether input is pending.