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

Function pauseDeadline

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

Source from the content-addressed store, hash-verified

1085 mode: "model",
1086 } as const);
1087 const pauseDeadline = (): PausedExecutionDeadline | undefined => {
1088 const ttlMs = config.pausedExecutionLeaseMs;
1089 return ttlMs === undefined || ttlMs <= 0
1090 ? undefined
1091 : { ttlMs, expiresAt: new Date(Date.now() + ttlMs).toISOString() };
1092 };
1093 const onExecutionPaused = (
1094 executionId: string,
1095 deadline: PausedExecutionDeadline | undefined,

Callers 4

formatPausedModelResultFunction · 0.85
executeCodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected