mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-04-22 10:51:53 +02:00
12 lines
691 B
TypeScript
12 lines
691 B
TypeScript
|
export declare function disposables(): {
|
||
|
enqueue(fn: Function): void;
|
||
|
addEventListener<TEventName extends keyof WindowEventMap>(element: HTMLElement | Window | Document, name: TEventName, listener: (event: WindowEventMap[TEventName]) => any, options?: boolean | AddEventListenerOptions | undefined): () => void;
|
||
|
requestAnimationFrame(callback: FrameRequestCallback): () => void;
|
||
|
nextFrame(callback: FrameRequestCallback): () => void;
|
||
|
setTimeout(callback: (...args: any[]) => void, ms?: number | undefined, ...args: any[]): () => void;
|
||
|
microTask(cb: () => void): () => void;
|
||
|
add(cb: () => void): () => void;
|
||
|
dispose(): void;
|
||
|
workQueue(): Promise<void>;
|
||
|
};
|