@tencentcloud/roomkit-web-vue3
Version:
<h1 align="center"> TUIRoomKit</h1> Conference (TUIRoomKit) is a product suitable for multi-person audio and video conversation scenarios such as business meetings, webinars, and online education. By integrating this product, you can add room management,
18 lines (17 loc) • 462 B
TypeScript
interface IDebounceOptions {
leading?: boolean;
maxWait?: number;
trailing?: boolean;
}
type IThrottleOptions = IDebounceOptions;
declare function throttle(func: any, wait: number, options?: IThrottleOptions): {
(): any;
cancel: () => void;
flush: () => any;
};
declare function debounce(func: any, wait: number, options?: IDebounceOptions): {
(): any;
cancel: () => void;
flush: () => any;
};
export { debounce, throttle, };