Package-level declarations
Types
The IdleDeadline
interface is used as the data type of the input parameter to idle callbacks established by calling Window.requestIdleCallback().
The TaskController
interface of the Prioritized Task Scheduling API represents a controller object that can be used to both abort and change the priority of one or more prioritized tasks.
The TaskPriorityChangeEvent
is the interface for the prioritychange
event.
The TaskSignal
interface of the Prioritized Task Scheduling API represents a signal object that allows you to communicate with a prioritized task, and abort it or change the priority (if required) via a TaskController object.
Properties
Functions
The window.cancelIdleCallback()
method cancels a callback previously scheduled with window.requestIdleCallback().
The postTask()
method of the Scheduler interface is used for adding tasks to be scheduled according to their priority.
The window.requestIdleCallback()
method queues a function to be called during a browser's idle periods.