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

AngularAsyncBatcherOptions

Interface: AngularAsyncBatcherOptions<TValue, TSelected>

Defined in: angular-pacer/src/async-batcher/injectAsyncBatcher.ts:12

Extends

  • AsyncBatcherOptions<TValue>

Type Parameters

TValue

TValue

TSelected

TSelected = { }

Properties

onUnmount()?

ts
optional onUnmount: (batcher) => void;

Defined in: angular-pacer/src/async-batcher/injectAsyncBatcher.ts:21

Optional callback invoked when the component is destroyed. Receives the batcher instance. When provided, replaces the default cleanup (cancel + abort); use it to call flush(), cancel(), add logging, etc. When using onUnmount with flush, guard your callbacks since the component may already be destroyed.

Parameters

batcher

AngularAsyncBatcher<TValue, TSelected>

Returns

void