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

Function onExecutionPaused

packages/hosts/mcp/src/tool-server.ts:1094–1098  ·  view source on GitHub ↗
(
      executionId: string,
      deadline: PausedExecutionDeadline | undefined,
    )

Source from the content-addressed store, hash-verified

1092 : { ttlMs, expiresAt: new Date(Date.now() + ttlMs).toISOString() };
1093 };
1094 const onExecutionPaused = (
1095 executionId: string,
1096 deadline: PausedExecutionDeadline | undefined,
1097 ): Effect.Effect<void> =>
1098 config.pausedExecutionHooks?.onExecutionPaused?.(executionId, deadline) ?? Effect.void;
1099 const onResumeStarted = (executionId: string): Effect.Effect<void> =>
1100 config.pausedExecutionHooks?.onResumeStarted?.(executionId) ?? Effect.void;
1101 const onResumeSettled = (executionId: string): Effect.Effect<void> =>

Callers 3

formatPausedModelResultFunction · 0.85
executeCodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected