(blockId: string, dag: DAG)
| 239 | } |
| 240 | |
| 241 | function findParentLoop(blockId: string, dag: DAG): string | undefined { |
| 242 | for (const [loopId, config] of dag.loopConfigs) { |
| 243 | if (loopId !== blockId && config.nodes?.includes(blockId)) { |
| 244 | return loopId |
| 245 | } |
| 246 | } |
| 247 | return undefined |
| 248 | } |
| 249 | |
| 250 | function findParentParallel(blockId: string, dag: DAG): string | undefined { |
| 251 | for (const [parallelId, config] of dag.parallelConfigs) { |
no outgoing calls
no test coverage detected