Skip to main content

VueAsyncQueuer

还没翻译译自英文(tanstack.com)本页 26 段都还没译

Defined in: async-queuer/useAsyncQueuer.ts:22

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

options: AsyncQueuerOptions<TValue> & VueAsyncQueuerOptions<TValue, TSelected>;

Defined in: async-queuer/useAsyncQueuer.ts:26


setOptions

setOptions: (options) => void;

Defined in: async-queuer/useAsyncQueuer.ts:28

Parameters

options

Partial<VueAsyncQueuerOptions<TValue, TSelected>>

Returns

void


state

readonly state: Readonly<ShallowRef<TSelected>>;

Defined in: async-queuer/useAsyncQueuer.ts:34

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


Subscribe

Subscribe: VuePacerSubscribe<AsyncQueuerState<TValue>>;

Defined in: async-queuer/useAsyncQueuer.ts:32

Subscribes a scoped slot to state without re-rendering the utility owner.