Defined in: react-pacer/src/batcher/useBatcher.ts:9
TValue
TSelected = { }
optional onUnmount: (batcher) => void;
Defined in: react-pacer/src/batcher/useBatcher.ts:17
Optional callback invoked when the component unmounts. Receives the batcher instance. When provided, replaces the default cleanup (cancel); use it to call flush(), reset(), cancel(), add logging, etc.
ReactBatcher<TValue, TSelected>
void