MCPcopy
hub / github.com/Effect-TS/effect / run

Function run

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

Source from the content-addressed store, hash-verified

691 const executionId = address.entityId
692 return {
693 run(request) {
694 const deferred = DurableClock.make({ name: request.payload.name, duration: Duration.zero }).deferred
695 return ensureSuccess(engine.deferredDone(deferred, {
696 workflowName: request.payload.workflowName,
697 executionId,
698 deferredName: deferred.name,
699 exit: Exit.void
700 }))
701 }
702 }
703}))
704

Callers 3

Command.test.tsFile · 0.50
commitFunction · 0.50
handleBuiltInOptionFunction · 0.50

Calls 2

ensureSuccessFunction · 0.85
makeMethod · 0.65

Tested by

no test coverage detected