Defined in: async-throttler/injectAsyncThrottler.ts:13
TFn extends AnyAsyncFunction
TSelected = { }
optional onUnmount?: (throttler) => void;Defined in: async-throttler/injectAsyncThrottler.ts:22
Optional callback invoked when the component is destroyed. Receives the throttler instance. When provided, replaces the default cleanup (cancel + abort); use it to call flush(), cancel(), add logging, etc. When using onUnmount with flush, guard your callbacks since the component may already be destroyed.
AngularAsyncThrottler<TFn, TSelected>
void