data-channel-router
Version:
Data channel router
17 lines (16 loc) • 457 B
TypeScript
/**
* Simple debounce function.
* @link https://github.com/DjonnyX/data-channel-router/blob/main/library/src/utils/debounce.ts
* @author Evgenii Grebennikov
* @email djonnyx@gmail.com
*/
export declare const debounce: (cb: (...args: Array<any>) => void, debounceTime?: number) => {
/**
* Call handling method
*/
execute: (...args: Array<any>) => void;
/**
* Method of destroying handlers
*/
dispose: () => void;
};