Files
whsfund/node_modules/web-vitals/dist/modules/lib/whenIdle.d.ts
2026-03-06 04:54:20 -04:00

6 lines
200 B
TypeScript

/**
* 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;