UNPKG

@blueprintjs/table

Version:

Scalable interactive table component

14 lines (13 loc) 483 B
type Callback = () => void; /** * Invokes the provided callback on the next available frame after the stack * frame is empty. * * At most one callback per frame is invoked, and the callback may be delayed * multiple frames until the page is idle. * * TODO: return a token from this method that allows you to cancel the callback * (otherwise the callback list may increase without bound). */ export declare const requestIdleCallback: (callback: Callback) => void; export {};