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

Function onExecutionPaused

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

Source from the content-addressed store, hash-verified

1069 : { ttlMs, expiresAt: new Date(Date.now() + ttlMs).toISOString() };
1070 };
1071 const onExecutionPaused = (
1072 executionId: string,
1073 deadline: PausedExecutionDeadline | undefined,
1074 ): Effect.Effect<void> =>
1075 config.pausedExecutionHooks?.onExecutionPaused?.(executionId, deadline) ?? Effect.void;
1076 const onResumeStarted = (executionId: string): Effect.Effect<void> =>
1077 config.pausedExecutionHooks?.onResumeStarted?.(executionId) ?? Effect.void;
1078 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