UNPKG

747 BTypeScriptView Raw
1export declare const DELAY_RENDER_CALLSTACK_TOKEN = "The delayRender was called:";
2/**
3 * Call this function to tell Remotion to wait before capturing this frame until data has loaded. Use continueRender() to unblock the render.
4 * @param label _optional_ A label to identify the call in case it does time out.
5 * @returns {number} An identifier to be passed to continueRender().
6 * @link https://www.remotion.dev/docs/delay-render
7 */
8export declare const delayRender: (label?: string | undefined) => number;
9/**
10 * Unblock a render that has been blocked by delayRender()
11 * @param handle The return value of delayRender().
12 * @link https://www.remotion.dev/docs/continue-render
13 */
14export declare const continueRender: (handle: number) => void;