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

Function annotateExecutionOutcome

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

Source from the content-addressed store, hash-verified

77 );
78
79const annotateExecutionOutcome = (execution: ExecutionResult) =>
80 execution.status === "paused"
81 ? Effect.annotateCurrentSpan({ "mcp.execute.outcome": "paused" })
82 : annotateExecuteOutcome(execution.result);
83
84// ---------------------------------------------------------------------------
85// Result formatting

Callers 1

createExecutionEngineFunction · 0.85

Calls 1

annotateExecuteOutcomeFunction · 0.85

Tested by

no test coverage detected