(blockId: string, dag: DAG)
| 248 | } |
| 249 | |
| 250 | function 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 | } |
no outgoing calls
no test coverage detected