blob: b503b5a4f22347eff2e1acc2a87cf735c1c2597a (
plain)
1
2
3
4
5
|
/**
* Runs the passed callback during the next idle period, or immediately
* if the browser's visibility state is (or becomes) hidden.
*/
export declare const whenIdle: (cb: () => void) => number;
|