Skip to content

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

Properties

PropertyModifierTypeDefined in
agentIdreadonlystringpackages/agent/src/fanout/index.ts:56
durationMsreadonlynumberpackages/agent/src/fanout/index.ts:62
error?readonly{ code: string; message: string; }packages/agent/src/fanout/index.ts:59
error.codereadonlystringpackages/agent/src/fanout/index.ts:59
error.messagereadonlystringpackages/agent/src/fanout/index.ts:59
output?readonlyTOutputpackages/agent/src/fanout/index.ts:58
statusreadonly"completed" | "failed" | "budget-exceeded" | "cancelled"packages/agent/src/fanout/index.ts:57
tokensUsedreadonlynumberpackages/agent/src/fanout/index.ts:60
toolCallCountreadonlynumberpackages/agent/src/fanout/index.ts:61