Function getCancelIdleCallback

Returns the global cancelIdleCallback function if available, which can be used to cancel a previously scheduled idle callback, or if the runtime does not support the cancelIdleCallback it will return null.

0.11.2