MCPcopy Create free account
hub / github.com/Effect-TS/effect / run

Function run

packages/cluster/src/ClusterWorkflowEngine.ts:700–708  ·  view source on GitHub ↗
(request)

Source from the content-addressed store, hash-verified

698 const executionId = address.entityId
699 return {
700 run(request) {
701 const deferred = DurableClock.make({ name: request.payload.name, duration: Duration.zero }).deferred
702 return ensureSuccess(engine.deferredDone(deferred, {
703 workflowName: request.payload.workflowName,
704 executionId,
705 deferredName: deferred.name,
706 exit: Exit.void
707 }))
708 }
709 }
710}))
711

Callers

nothing calls this directly

Calls 2

ensureSuccessFunction · 0.85
makeMethod · 0.65

Tested by

no test coverage detected