MCPcopy Index your code
hub / github.com/simstudioai/sim / findParentParallel

Function findParentParallel

apps/sim/executor/utils/run-from-block.ts:250–257  ·  view source on GitHub ↗
(blockId: string, dag: DAG)

Source from the content-addressed store, hash-verified

248}
249
250function findParentParallel(blockId: string, dag: DAG): string | undefined {
251 for (const [parallelId, config] of dag.parallelConfigs) {
252 if (parallelId !== blockId && config.nodes?.includes(blockId)) {
253 return parallelId
254 }
255 }
256 return undefined
257}

Callers 1

validateRunFromBlockFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected