SolidThrottlerOptions
Defined in: throttler/createThrottler.ts:15
Extends
ThrottlerOptions<TFn>
Type Parameters
TFn
TFn extends AnyFunction
TSelected
TSelected = {
}
Properties
onUnmount?
optional onUnmount?: (throttler) => void;Defined in: throttler/createThrottler.ts:23
Optional callback invoked when the owning component unmounts. Receives the throttler instance. When provided, replaces the default cleanup (cancel); use it to call flush(), reset(), cancel(), add logging, etc.
Parameters
throttler
SolidThrottler<TFn, TSelected>
Returns
void