Defined in: react-pacer/src/async-queuer/useAsyncQueuer.ts:12
TValue
TSelected = { }
optional onUnmount: (queuer) => void;
Defined in: react-pacer/src/async-queuer/useAsyncQueuer.ts:20
Optional callback invoked when the component unmounts. Receives the queuer instance. When provided, replaces the default cleanup (stop + abort); use it to call flush(), flushAsBatch(), stop(), add logging, etc.
ReactAsyncQueuer<TValue, TSelected>
void