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 — BranchPath | ADK for TypeScript: API Reference - v2.5.0

  • BranchPath

Class BranchPath

Hierarchical, dot-separated path for execution branches. Each segment is a node run, typically formatted as name@runId (or just name).

Ported from google/adk-python events/_branch_path.py::_BranchPath.

Example

'[email protected][email protected]_workflow'
  • Defined in core/src/workflow/branch_path.ts:15

Constructors

constructor

  • new BranchPath(segments: string[]): BranchPath

    Parameters

    • segments: string[]

    Returns BranchPath

    • Defined in core/src/workflow/branch_path.ts:18

Methods

append

  • append(name: string, runId?: string): BranchPath

    Returns a new path with a name@runId (or name) segment appended.

    Parameters

    • name: string
    • OptionalrunId: string

    Returns BranchPath

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

getSegments

  • getSegments(): string[]

    Returns a copy of the path segments.

    Returns string[]

    • Defined in core/src/workflow/branch_path.ts:27

isDescendantOf

  • isDescendantOf(ancestor: BranchPath): boolean

    Whether this path is a strict descendant of ancestor.

    Parameters

    • ancestor: BranchPath

    Returns boolean

    • Defined in core/src/workflow/branch_path.ts:32

toString

  • toString(): string

    Returns string

    • Defined in core/src/workflow/branch_path.ts:22
Constructors
constructor
Methods
appendgetSegmentsisDescendantOftoString
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.