wilddragon-site/node_modules/next/dist/server/app-render/app-render-scheduling.d.ts
2026-04-17 15:51:01 -04:00

8 lines
342 B
TypeScript
Executable file

/**
* Allows scheduling multiple timers (equivalent to `setTimeout(cb, delayMs)`)
* that are guaranteed to run in the same iteration of the event loop.
*
* @param delayMs - the delay to pass to `setTimeout`. (default: 0)
*
* */
export declare function createAtomicTimerGroup(delayMs?: number): (callback: () => void) => NodeJS.Timeout;