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

providePacerOptions

ts
function providePacerOptions(options): Provider;
function providePacerOptions(options): Provider;

Defined in: packages/angular-pacer/src/provider/providePacerOptions.ts:67

Provides scoped defaults for Angular Pacer utilities.

Place this provider in application, route, or component providers. The nearest provider supplies the defaults; local utility options take precedence. A nested provider replaces the outer defaults rather than merging scopes.

Parameters

options

| PacerProviderOptions | (() => PacerProviderOptions)

Partial default options grouped by utility, or an injection-context factory.

Returns

Provider

An Angular provider for the supplied defaults.

Example

ts
const appConfig = {
  providers: [
    providePacerOptions({ debouncer: { wait: 250 } }),
  ],
}
const appConfig = {
  providers: [
    providePacerOptions({ debouncer: { wait: 250 } }),
  ],
}