Skip to content

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 ParameterDefault type
TOutputunknown

Properties

PropertyModifierTypeDescriptionDefined in
agentIdreadonlystring-packages/agent/src/fanout/index.ts:77
durationMsreadonlynumber-packages/agent/src/fanout/index.ts:83
error?readonly{ code: string; message: string; }-packages/agent/src/fanout/index.ts:80
error.codereadonlystring-packages/agent/src/fanout/index.ts:80
error.messagereadonlystring-packages/agent/src/fanout/index.ts:80
output?readonlyTOutput-packages/agent/src/fanout/index.ts:79
statusreadonly"completed" | "failed" | "budget-exceeded" | "cancelled"-packages/agent/src/fanout/index.ts:78
tokensUsedreadonlynumber-packages/agent/src/fanout/index.ts:81
toolCallCountreadonlynumber-packages/agent/src/fanout/index.ts:82
usage?readonlyUsageFull usage breakdown, present only for usage-reporting children (an invoke resolving to a full AgentResult, W-033).packages/agent/src/fanout/index.ts:88