本页还没有译文
本页 32 段还没译成Português (BR),下面显示的是英文原文。AsyncQueuerController
还没翻译译自英文(tanstack.com)本页 32 段都还没译
Defined in: async-queuer/AsyncQueuerController.ts:8
Owns a AsyncQueuer for a Lit host. Access core methods and selected state through pacer.
Type Parameters
TValue
TValue
TSelected
TSelected = {
}
Constructors
Constructor
new AsyncQueuerController<TValue, TSelected>(
host,
fn,
options?,
selector?): AsyncQueuerController<TValue, TSelected>;Defined in: async-queuer/AsyncQueuerController.ts:10
Parameters
host
ReactiveControllerHost
fn
(item) => Promise<any>
options?
LitPacerOptions<LitAsyncQueuerOptions<TValue, TSelected>> = {}
selector?
(state) => TSelected
Returns
AsyncQueuerController<TValue, TSelected>
Properties
pacer
readonly pacer: LitAsyncQueuer<TValue, TSelected>;Defined in: async-queuer/AsyncQueuerController.ts:9
Accessors
state
Get Signature
get state(): Readonly<TSelected>;Defined in: async-queuer/AsyncQueuerController.ts:20
Selected reactive state. Reading this property participates in host rendering.
Returns
Readonly<TSelected>
AI 翻译查看英文原文