Skip to content

Documentation / @agentick/shared / ForkStartEvent

Type Alias: ForkStartEvent ​

ForkStartEvent = object & StreamEventBase

Defined in: streaming.ts:709

Fork lifecycle events

Fork creates parallel execution branches that race or vote. Each branch runs as a separate execution - subscribe to those executions directly if you need branch-level observability.

Type Declaration ​

branchCount ​

branchCount: number

Number of parallel branches

branches ​

branches: string[]

Identifiers for each branch (variant names or indices)

forkId ​

forkId: string

Unique identifier for this fork operation

input? ​

optional input: unknown

Input passed to the fork (shared across branches or per-branch)

parentExecutionId ​

parentExecutionId: string

Parent execution that initiated the fork

strategy ​

strategy: "race" | "vote" | "all"

Strategy for handling branch results

type ​

type: "fork_start"

Released under the ISC License.