Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/agent / fanout / ChildResult
Interface: ChildResult<TOutput>
Defined in: packages/agent/src/fanout/index.ts:55
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 | Defined in |
|---|---|---|---|
agentId | readonly | string | packages/agent/src/fanout/index.ts:56 |
durationMs | readonly | number | packages/agent/src/fanout/index.ts:62 |
error? | readonly | { code: string; message: string; } | packages/agent/src/fanout/index.ts:59 |
error.code | readonly | string | packages/agent/src/fanout/index.ts:59 |
error.message | readonly | string | packages/agent/src/fanout/index.ts:59 |
output? | readonly | TOutput | packages/agent/src/fanout/index.ts:58 |
status | readonly | "completed" | "failed" | "budget-exceeded" | "cancelled" | packages/agent/src/fanout/index.ts:57 |
tokensUsed | readonly | number | packages/agent/src/fanout/index.ts:60 |
toolCallCount | readonly | number | packages/agent/src/fanout/index.ts:61 |