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

AngularAsyncThrottlerOptions

Defined in: packages/angular-pacer/src/async-throttler/injectAsyncThrottler.ts:32

Options for injectAsyncThrottler, including core configuration and Angular cleanup.

Extends

  • AsyncThrottlerOptions<TFn>

Type Parameters

TFn

TFn extends AnyAsyncFunction

Properties

onUnmount?

ts
optional onUnmount?: (core) => void;
optional onUnmount?: (core) => void;

Defined in: packages/angular-pacer/src/async-throttler/injectAsyncThrottler.ts:39

Called when the owning injection context is destroyed. Receives the core instance. Providing this callback replaces the default cleanup (cancel pending execution and abort running work).

Parameters

core

AsyncThrottler<TFn>

Returns

void