Defined in: react-pacer/src/async-rate-limiter/useAsyncRateLimiter.ts:13
TFn extends AnyAsyncFunction
TSelected = { }
optional onUnmount: (rateLimiter) => void;
Defined in: react-pacer/src/async-rate-limiter/useAsyncRateLimiter.ts:21
Optional callback invoked when the component unmounts. Receives the rate limiter instance. When provided, replaces the default cleanup (abort); use it to call reset(), add logging, etc.
ReactAsyncRateLimiter<TFn, TSelected>
void