| 48 | * Note, that if there are no previous invocations you will get undefined. You should check it in your code properly. |
| 49 | */ |
| 50 | export interface DebouncedState<T extends (...args: any) => ReturnType<T>> |
| 51 | extends ControlFunctions<ReturnType<T>> { |
| 52 | (...args: Parameters<T>): ReturnType<T> | undefined; |
| 53 | } |
| 54 | |
| 55 | /** |
| 56 | * Creates a debounced function that delays invoking `func` until after `wait` |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…