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 Scheduling

Methods

NameDescription
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.cs

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.

public bool IsInputPending(IsInputPendingOptions? isInputPendingOptions = null)

Parameters

isInputPendingOptions IsInputPendingOptions?
The options: whether the continuous events are considered.

Returns

bool Whether input is pending.

See also