Open History to see the last commit
Defined in: packages/angular-pacer/src/rate-limiter/injectRateLimiter.ts:31
Options for injectRateLimiter, including core configuration and Angular cleanup.
Extends#
RateLimiterOptions<TFn>
Type Parameters#
TFn#
TFn extends AnyFunction
Properties#
onUnmount?#
optional onUnmount?: (core) => void;
Defined in: packages/angular-pacer/src/rate-limiter/injectRateLimiter.ts:38
Called when the owning injection context is destroyed. Receives the core instance. There is no default cleanup; use this callback for custom teardown.
Parameters#
core#
RateLimiter<TFn>
Returns#
void