Skip to main content

Function: addressOf()

addressOf(ctx): string

Defined in: packages/core/src/core/hooks.ts:76

The unique address of a step execution: [...path, nodeId], joined with /.

This is the join key for live state. Bare nodeId is unique only within one parent — a graph and a pipeline nested inside it routinely mint the same step-2 — so any consumer keying a store, a status map, or a UI node on ctx.nodeId alone will cross wires as soon as anything is nested. This helper exists so that consumers do not each hand-roll the join (and drift on the separator).

Parameters

ctx

NodeContext

Returns

string