• Cancels a callback scheduled with scheduleIdleCallback. Works with both requestIdleCallback and setTimeout fallback.

    Parameters

    Returns void

    Example

    const handle = scheduleIdleCallback(() => {
    console.log('This might not run');
    });

    cancelScheduledCallback(handle);

Generated using TypeDoc