Type that represents the global cancelIdleCallback function, which can be used to
cancel a previously scheduled idle callback. Defined as a type alias for easier reference
and to support older TypeScript versions.
Type declaration
(handle): void
Parameters
handle: number
The handle returned by the requestIdleCallback function that identifies
the idle callback to cancel.
Type that represents the global
cancelIdleCallback
function, which can be used to cancel a previously scheduled idle callback. Defined as a type alias for easier reference and to support older TypeScript versions.