Docs
Cloudflare
CodeRabbit
Railway
WorkOS
Clerk
SerpAPI
Netlify
AG Grid
OpenRouter
Prisma
Sentry
Unkey
Electric
Cloudflare
CodeRabbit
Railway
WorkOS
Clerk
SerpAPI
Netlify
AG Grid
OpenRouter
Prisma
Sentry
Unkey
Electric
Debouncer API Reference
Throttler API Reference
Rate Limiter API Reference
Queue API Reference
Batcher API Reference
Throttler API Reference

AngularThrottler

Interface: AngularThrottler<TFn, TSelected>

Defined in: angular-pacer/src/throttler/injectThrottler.ts:24

Extends

  • Omit<Throttler<TFn>, "store">

Type Parameters

TFn

TFn extends AnyFunction

TSelected

TSelected = { }

Properties

state

ts
readonly state: Signal<Readonly<TSelected>>;
readonly state: Signal<Readonly<TSelected>>;

Defined in: angular-pacer/src/throttler/injectThrottler.ts:33

Reactive state signal that will be updated when the throttler state changes

Use this instead of throttler.store.state


store

ts
readonly store: Store<Readonly<ThrottlerState<TFn>>>;
readonly store: Store<Readonly<ThrottlerState<TFn>>>;

Defined in: angular-pacer/src/throttler/injectThrottler.ts:38

Deprecated

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.