MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / annotateExecutionOutcome

Function annotateExecutionOutcome

packages/core/execution/src/engine.ts:101–104  ·  view source on GitHub ↗
(execution: ExecutionResult)

Source from the content-addressed store, hash-verified

99 });
100
101const annotateExecutionOutcome = (execution: ExecutionResult) =>
102 execution.status === "paused"
103 ? Effect.annotateCurrentSpan({ "mcp.execute.outcome": "paused" })
104 : annotateExecuteOutcome(execution.result);
105
106// ---------------------------------------------------------------------------
107// Result formatting

Callers 1

createExecutionEngineFunction · 0.85

Calls 1

annotateExecuteOutcomeFunction · 0.85

Tested by

no test coverage detected