UNPKG

data-channel-router

Version:
17 lines (16 loc) 457 B
/** * 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; };