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

Function onExecutionPaused

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

Source from the content-addressed store, hash-verified

1135 : { ttlMs, expiresAt: new Date(Date.now() + ttlMs).toISOString() };
1136 };
1137 const onExecutionPaused = (
1138 executionId: string,
1139 deadline: PausedExecutionDeadline | undefined,
1140 ): Effect.Effect<void> =>
1141 config.pausedExecutionHooks?.onExecutionPaused?.(executionId, deadline) ?? Effect.void;
1142 const onResumeStarted = (executionId: string): Effect.Effect<void> =>
1143 config.pausedExecutionHooks?.onResumeStarted?.(executionId) ?? Effect.void;
1144 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