packages/core/src/definitions/helpers/async-debounce/index.ts
Function asyncDebounce
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const asyncDebounce = <T extends (...args: any[]) => any>(
func: T,
wait = 1000,
cancelReason?: string,
): DebouncedFunction<T> => {