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

Function pauseDeadline

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

Source from the content-addressed store, hash-verified

1063 mode: "model",
1064 } as const);
1065 const pauseDeadline = (): PausedExecutionDeadline | undefined => {
1066 const ttlMs = config.pausedExecutionLeaseMs;
1067 return ttlMs === undefined || ttlMs <= 0
1068 ? undefined
1069 : { ttlMs, expiresAt: new Date(Date.now() + ttlMs).toISOString() };
1070 };
1071 const onExecutionPaused = (
1072 executionId: string,
1073 deadline: PausedExecutionDeadline | undefined,

Callers 3

formatPausedModelResultFunction · 0.85
executeCodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected