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

Function pauseDeadline

packages/hosts/mcp/src/tool-server.ts:694–699  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

692 mode: "model",
693 } as const);
694 const pauseDeadline = (): PausedExecutionDeadline | undefined => {
695 const ttlMs = config.pausedExecutionLeaseMs;
696 return ttlMs === undefined || ttlMs <= 0
697 ? undefined
698 : { ttlMs, expiresAt: new Date(Date.now() + ttlMs).toISOString() };
699 };
700 const onExecutionPaused = (
701 executionId: string,
702 deadline: PausedExecutionDeadline | undefined,

Callers 3

formatPausedModelResultFunction · 0.85
executeCodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected