MCPcopy Create free account
hub / github.com/effect-app/libs / driveById

Function driveById

packages/infra/src/WorkflowEngineSqlite.ts:569–578  ·  view source on GitHub ↗
(executionId: string)

Source from the content-addressed store, hash-verified

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

Callers 3

driveFunction · 0.70
fireClockFunction · 0.70

Calls 4

readExecFunction · 0.70
decodePayloadFunction · 0.70
driveFunction · 0.70
getMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…