UNPKG

@hocuspocus/extension-database

Version:

a generic Hocuspocus persistence driver for the database

7 lines (6 loc) 296 B
export declare const useDebounce: () => { debounce: (id: string, func: () => any | Promise<() => any>, debounce: number, maxDebounce: number) => Promise<any>; isDebounced: (id: string) => boolean; isCurrentlyExecuting: (id: string) => boolean; executeNow: (id: string) => any; };