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
Queue API Reference

LitQueuer

Defined in: queuer/createQueuer.ts:19

A Queuer with framework-reactive selected state. All core methods remain available.

Extends

  • Omit<Queuer<TValue>, "options" | "setOptions">

Type Parameters

TValue

TValue

TSelected

TSelected = { }

Properties

options

ts
options: QueuerOptions<TValue> & LitQueuerOptions<TValue, TSelected>;
options: QueuerOptions<TValue> & LitQueuerOptions<TValue, TSelected>;

Defined in: queuer/createQueuer.ts:23


setOptions

ts
setOptions: (options) => void;
setOptions: (options) => void;

Defined in: queuer/createQueuer.ts:24

Parameters

options

Partial<LitQueuerOptions<TValue, TSelected>>

Returns

void


state

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

Defined in: queuer/createQueuer.ts:28

Selected state. Pass a selector to opt in; the default selection is an empty object.


subscribe

ts
subscribe: LitPacerSubscribe<QueuerState<TValue>>;
subscribe: LitPacerSubscribe<QueuerState<TValue>>;

Defined in: queuer/createQueuer.ts:26

Subscribes a child owner to selected state with automatic cleanup.