react-ui89
Version:
A collection of React components that mimic a common style of user interfaces from the late 80s and early 90s.
15 lines (14 loc) • 389 B
TypeScript
export declare function throttledTimeout(): {
call(delay: number, f: () => void): void;
/**
* If there is a call that has been scheduled, remove it from the queue.
*/
abort(): void;
/**
* Lets you know whether a call is pending.
*/
isPending(): boolean;
};
export declare function spacedTimeout(): {
call(delay: number, f: () => void): void;
};