Open History to see the last commit
Defined in: async-throttler/createAsyncThrottler.ts:13
Options for createAsyncThrottler, including owner cleanup.
Extends#
AsyncThrottlerOptions<TFn>
Type Parameters#
TFn#
TFn extends AnyAsyncFunction
TSelected#
TSelected = {
}
Properties#
onUnmount?#
optional onUnmount?: (instance) => void;
Defined in: async-throttler/createAsyncThrottler.ts:18
Replaces default cleanup. Use this to flush, cancel, or stop pending work.
Parameters#
instance#
AlpineAsyncThrottler<TFn, TSelected>
Returns#
void