Open History to see the last commit
Defined in: async-throttler/createAsyncThrottler.ts:14
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:19
Replaces default cleanup. Use this to flush, cancel, or stop pending work.
Parameters#
instance#
LitAsyncThrottler<TFn, TSelected>
Returns#
void