Pacer Docs
API Reference
Debouncer API Reference
Throttler API Reference
Rate Limiter API Reference
Queue API Reference
AI/LLM: This documentation page is available in plain markdown format at/pacer/latest/docs/framework/solid/reference/interfaces/SolidAsyncThrottlerOptions.md
Throttler API Reference
SolidAsyncThrottlerOptions
Defined in: async-throttler/createAsyncThrottler.ts:15
Extends#
- AsyncThrottlerOptions<TFn>
Type Parameters#
TFn#
TFn extends AnyAsyncFunction
TSelected#
TSelected = { }
Properties#
onUnmount?#
ts
optional onUnmount?: (throttler) => void;Defined in: async-throttler/createAsyncThrottler.ts:23
Optional callback invoked when the owning component unmounts. Receives the throttler instance. When provided, replaces the default cleanup (cancel + abort); use it to call flush(), reset(), cancel(), add logging, etc.
Parameters#
throttler#
SolidAsyncThrottler<TFn, TSelected>
Returns#
void