@agentman/chat-widget
Version:
Agentman Chat Widget for easy integration with web applications
9 lines (8 loc) • 378 B
TypeScript
/**
* Debounce utility to prevent excessive function calls
*/
export declare function debounce<T extends (...args: any[]) => any>(func: T, wait: number): (...args: Parameters<T>) => void;
/**
* Throttle utility to limit function execution rate
*/
export declare function throttle<T extends (...args: any[]) => any>(func: T, limit: number): (...args: Parameters<T>) => void;