Defined in: async-rate-limiter/injectAsyncRateLimiter.ts:26
TFn extends AnyAsyncFunction
TSelected = { }
options: AsyncRateLimiterOptions<TFn> & AngularAsyncRateLimiterOptions<TFn, TSelected>;Defined in: async-rate-limiter/injectAsyncRateLimiter.ts:30
setOptions: (options) => void;Defined in: async-rate-limiter/injectAsyncRateLimiter.ts:32
Partial<AngularAsyncRateLimiterOptions<TFn, TSelected>>
void
readonly state: Signal<Readonly<TSelected>>;Defined in: async-rate-limiter/injectAsyncRateLimiter.ts:40
Reactive state signal that will be updated when the async rate limiter state changes
Use this instead of rateLimiter.store.state
readonly store: Store<Readonly<AsyncRateLimiterState<TFn>>>;Defined in: async-rate-limiter/injectAsyncRateLimiter.ts:45
Use rateLimiter.state instead of rateLimiter.store.state if you want to read reactive state. The state on the store object is not reactive in Angular signals.