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

Function onExecutionPaused

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

Source from the content-addressed store, hash-verified

1113 : { ttlMs, expiresAt: new Date(Date.now() + ttlMs).toISOString() };
1114 };
1115 const onExecutionPaused = (
1116 executionId: string,
1117 deadline: PausedExecutionDeadline | undefined,
1118 ): Effect.Effect<void> =>
1119 config.pausedExecutionHooks?.onExecutionPaused?.(executionId, deadline) ?? Effect.void;
1120 const onResumeStarted = (executionId: string): Effect.Effect<void> =>
1121 config.pausedExecutionHooks?.onResumeStarted?.(executionId) ?? Effect.void;
1122 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