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

Function onExecutionPaused

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

Source from the content-addressed store, hash-verified

698 : { ttlMs, expiresAt: new Date(Date.now() + ttlMs).toISOString() };
699 };
700 const onExecutionPaused = (
701 executionId: string,
702 deadline: PausedExecutionDeadline | undefined,
703 ): Effect.Effect<void> =>
704 config.pausedExecutionHooks?.onExecutionPaused?.(executionId, deadline) ?? Effect.void;
705 const onResumeStarted = (executionId: string): Effect.Effect<void> =>
706 config.pausedExecutionHooks?.onResumeStarted?.(executionId) ?? Effect.void;
707 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