utils/abortabledebounce
module
Interfaces
module:utils/abortabledebounce~AbortableFunc
Functions
abortableDebounce( func ) → AbortableFunc<Args, Ret>module:utils/abortabledebounce~abortableDebounceReturns a function wrapper that will execute the provided function and abort any previous call that is still in progress.
Type parameters
Args : extends Array<any>Ret
Parameters
func : ( signal: AbortSignal, args: Args ) => RetThe function to be called. It will be provided with
AbortSignalas the first parameter.
Returns
AbortableFunc<Args, Ret>