init commit
This commit is contained in:
10
remotion/node_modules/@remotion/web-renderer/dist/throttle-progress.d.ts
generated
vendored
Normal file
10
remotion/node_modules/@remotion/web-renderer/dist/throttle-progress.d.ts
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import type { RenderMediaOnWebProgressCallback } from './render-media-on-web';
|
||||
export type ThrottledProgressResult = {
|
||||
throttled: RenderMediaOnWebProgressCallback;
|
||||
[Symbol.dispose]: () => void;
|
||||
};
|
||||
/**
|
||||
* Creates a throttled version of a progress callback that ensures it's not called
|
||||
* more frequently than the specified interval (default: 250ms)
|
||||
*/
|
||||
export declare const createThrottledProgressCallback: (callback: RenderMediaOnWebProgressCallback | null, throttleMs?: number) => ThrottledProgressResult | null;
|
||||
Reference in New Issue
Block a user