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

Function completed

packages/core/analytics/src/engine.ts:35–40  ·  view source on GitHub ↗
(ok: boolean)

Source from the content-addressed store, hash-verified

33 context: ExecutionAnalyticsContext,
34): ExecutionEngine<E> => {
35 const completed = (ok: boolean): Effect.Effect<void> =>
36 analytics.record("execution_completed", {
37 ok,
38 plane: context.plane,
39 toolkit: context.toolkit,
40 });
41
42 const recordOutcome = (result: ExecutionResult | null): Effect.Effect<void> =>
43 result?.status === "completed" ? completed(!result.result.error) : Effect.void;

Callers 2

recordOutcomeFunction · 0.70
withExecutionAnalyticsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected