SvelteAsyncThrottlerOptions
Defined in: packages/svelte-pacer/src/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: packages/svelte-pacer/src/async-throttler/createAsyncThrottler.ts:18
Replaces default cleanup. Use this to flush, cancel, or stop pending work.
Parameters
instance
SvelteAsyncThrottler<TFn, TSelected>
Returns
void