Graphorin API reference v0.7.0
Graphorin API reference / @graphorin/agent / fanout / ChildResult
Interface: ChildResult<TOutput>
Defined in: packages/agent/src/fanout/index.ts:76
Per-child outcome surfaced on FanOutResult.children. Failed-child isolation: a child that throws produces a ChildResult with status: 'failed' - never an exception thrown from the fan-out call itself.
Stable
Type Parameters
| Type Parameter | Default type |
|---|---|
TOutput | unknown |
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
agentId | readonly | string | - | packages/agent/src/fanout/index.ts:77 |
durationMs | readonly | number | - | packages/agent/src/fanout/index.ts:83 |
error? | readonly | { code: string; message: string; } | - | packages/agent/src/fanout/index.ts:80 |
error.code | readonly | string | - | packages/agent/src/fanout/index.ts:80 |
error.message | readonly | string | - | packages/agent/src/fanout/index.ts:80 |
output? | readonly | TOutput | - | packages/agent/src/fanout/index.ts:79 |
status | readonly | "completed" | "failed" | "budget-exceeded" | "cancelled" | - | packages/agent/src/fanout/index.ts:78 |
tokensUsed | readonly | number | - | packages/agent/src/fanout/index.ts:81 |
toolCallCount | readonly | number | - | packages/agent/src/fanout/index.ts:82 |
usage? | readonly | Usage | Full usage breakdown, present only for usage-reporting children (an invoke resolving to a full AgentResult, W-033). | packages/agent/src/fanout/index.ts:88 |