Skip to content

rulvar API reference


rulvar API reference / @rulvar/core / spawnDepthOf

Function: spawnDepthOf()

ts
function spawnDepthOf(childScope): number;

Defined in: packages/core/src/orchestrator/admission.ts:195

Nesting depth of a child scope: its workflow, agent, and plan-node segments.

Parameters

ParameterType
childScopestring

Returns

number