GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • ADK for TypeScript: API Reference

This view

  • Original page
  • New address

GeezerVison is showing adk.dev — NodeResult | ADK for TypeScript: API Reference - v2.5.0

  • NodeResult

Interface NodeResult

The result of running a node: the fields a caller (and the engine's completion handling) reads off a finished run — its output, emitted route, the branch it ran on, and any raised interrupt ids.

A node that actually executes returns its full NodeContext (which satisfies this shape). A node that is fast-forwarded on resume (its output was cached in a prior turn, so its body is not re-run) returns a bare NodeResult with no live context behaviour — so callers of ctx.runNode() should treat the result as a NodeResult and read only these fields.

interface NodeResult {
    branch?: string;
    interruptIds: string[];
    output: unknown;
    route?: RouteValue | RouteValue[];
}
  • Defined in core/src/workflow/node_context.ts:34

Properties

Optionalbranch

branch?: string

The branch the node ran on.

  • Defined in core/src/workflow/node_context.ts:40

interruptIds

interruptIds: string[]

Interrupt ids the node is blocked on (empty when it completed).

  • Defined in core/src/workflow/node_context.ts:42

output

output: unknown

The structured output the node produced (if any).

  • Defined in core/src/workflow/node_context.ts:36

Optionalroute

route?: RouteValue | RouteValue[]

The route key(s) the node emitted, if any (array = multi-route).

  • Defined in core/src/workflow/node_context.ts:38
Properties
branchinterruptIdsoutputroute
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.