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

AngularBatcherOptions

Interface: AngularBatcherOptions<TValue, TSelected>

Defined in: angular-pacer/src/batcher/injectBatcher.ts:9

Extends

  • BatcherOptions<TValue>

Type Parameters

TValue

TValue

TSelected

TSelected = { }

Properties

onUnmount()?

ts
optional onUnmount: (batcher) => void;
optional onUnmount: (batcher) => void;

Defined in: angular-pacer/src/batcher/injectBatcher.ts:17

Optional callback invoked when the component is destroyed. Receives the batcher instance. When provided, replaces the default cleanup (cancel); use it to call flush(), cancel(), add logging, etc.

Parameters

batcher

AngularBatcher<TValue, TSelected>

Returns

void