Skip to content

Interface: PoolNode<TItem> ​

Defined in: ast/pool-node.ts:11

Passive AST node representing a capacity pool of account seats or models.

Multiplexes concurrent access across items using strategy and cascades to fallbackItem when all primary candidates are rate-limited.

Type Parameters ​

Type ParameterDefault typeDescription
TItemunknownPooled resource item type.

Properties ​

PropertyModifierTypeDescriptionDefined in
fallbackItem?readonlyTItemOptional fallback item used when all primary candidates are exhausted or rate-limited.ast/pool-node.ts:21
idreadonlystringUnique logical identifier of the pool.ast/pool-node.ts:15
itemsreadonlyreadonly TItem[]Ordered list of primary candidate items managed by the pool.ast/pool-node.ts:17
strategyreadonlyPoolStrategyNode<TItem>Selection strategy governing candidate routing and retry escalation.ast/pool-node.ts:19
typereadonly"harness:pool"Discriminant identifying a capacity pool AST node.ast/pool-node.ts:13

Released under the MIT License.