(executionId: string)
| 567 | }) |
| 568 | |
| 569 | const driveById = (executionId: string): Effect.Effect<void> => |
| 570 | Effect.gen(function*() { |
| 571 | const stateOpt = yield* readExec(executionId) |
| 572 | if (Option.isNone(stateOpt)) return |
| 573 | const state = stateOpt.value |
| 574 | const entry = workflows.get(state.workflowName) |
| 575 | if (!entry) return |
| 576 | const payload = yield* decodePayload(entry.workflow, state.payload) |
| 577 | yield* drive(executionId, payload, state.parent, entry) |
| 578 | }) |
| 579 | |
| 580 | // --- Clock firing ----------------------------------------------------- |
| 581 |
no test coverage detected
searching dependent graphs…