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 Parameter | Default type | Description |
|---|---|---|
TItem | unknown | Pooled resource item type. |
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
fallbackItem? | readonly | TItem | Optional fallback item used when all primary candidates are exhausted or rate-limited. | ast/pool-node.ts:21 |
id | readonly | string | Unique logical identifier of the pool. | ast/pool-node.ts:15 |
items | readonly | readonly TItem[] | Ordered list of primary candidate items managed by the pool. | ast/pool-node.ts:17 |
strategy | readonly | PoolStrategyNode<TItem> | Selection strategy governing candidate routing and retry escalation. | ast/pool-node.ts:19 |
type | readonly | "harness:pool" | Discriminant identifying a capacity pool AST node. | ast/pool-node.ts:13 |