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
| Parameter | Type |
|---|---|
childScope | string |
Returns
number