Defined in: async-throttler/injectAsyncThrottler.ts:27
TFn extends AnyAsyncFunction
TSelected = { }
options: AsyncThrottlerOptions<TFn> & AngularAsyncThrottlerOptions<TFn, TSelected>;Defined in: async-throttler/injectAsyncThrottler.ts:31
setOptions: (options) => void;Defined in: async-throttler/injectAsyncThrottler.ts:33
Partial<AngularAsyncThrottlerOptions<TFn, TSelected>>
void
readonly state: Signal<Readonly<TSelected>>;Defined in: async-throttler/injectAsyncThrottler.ts:41
Reactive state signal that will be updated when the async throttler state changes
Use this instead of throttler.store.state
readonly store: Store<Readonly<AsyncThrottlerState<TFn>>>;Defined in: async-throttler/injectAsyncThrottler.ts:46
Use throttler.state instead of throttler.store.state if you want to read reactive state. The state on the store object is not reactive in Angular signals.