TanStack
Queue API Reference

EmberAsyncQueuer

Defined in: packages/ember-pacer/src/async-queuer/useAsyncQueuer.ts:28

An AsyncQueuer with framework-reactive selected state. All core methods remain available.

Extends

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

Type Parameters

TValue

TValue

TSelected

TSelected = { }

Properties

options

ts
options: AsyncQueuerOptions<TValue> & EmberAsyncQueuerOptions<TValue, TSelected>;

Defined in: packages/ember-pacer/src/async-queuer/useAsyncQueuer.ts:32


setOptions

ts
setOptions: (options) => void;

Defined in: packages/ember-pacer/src/async-queuer/useAsyncQueuer.ts:34

Parameters

options

Partial<EmberAsyncQueuerOptions<TValue, TSelected>>

Returns

void


state

ts
readonly state: Readonly<TSelected>;

Defined in: packages/ember-pacer/src/async-queuer/useAsyncQueuer.ts:40

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


Subscribe

ts
Subscribe: EmberPacerSubscribe<AsyncQueuerState<TValue>>;

Defined in: packages/ember-pacer/src/async-queuer/useAsyncQueuer.ts:38

Selects state in a child without subscribing the utility owner.