(executionId: string)
| 439 | }) |
| 440 | |
| 441 | const driveById = (executionId: string): Effect.Effect<void> => |
| 442 | Effect.gen(function*() { |
| 443 | const stateOpt = yield* readExec(executionId) |
| 444 | if (Option.isNone(stateOpt)) return |
| 445 | const state = stateOpt.value |
| 446 | const entry = workflows.get(state.workflowName) |
| 447 | if (!entry) return |
| 448 | const payload = yield* decodePayload(entry.workflow, state.payload) |
| 449 | yield* drive(executionId, payload, state.parent, entry) |
| 450 | }) |
| 451 | |
| 452 | // --- Clock firing ----------------------------------------------------- |
| 453 | // Persist deferred completion (first-writer-wins via createIfMissing), |
no test coverage detected
searching dependent graphs…