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

Function timeoutMessage

packages/kernel/runtime-quickjs/src/index.ts:108–109  ·  view source on GitHub ↗
(timeoutMs: number)

Source from the content-addressed store, hash-verified

106const looksLikeInterruptedError = (message: string): boolean => /\binterrupted\b/i.test(message);
107
108const timeoutMessage = (timeoutMs: number): string =>
109 `QuickJS execution timed out after ${timeoutMs}ms`;
110
111type DeadlineTracker = {
112 /** Current absolute deadline, or null while at least one dispatch is in flight. */

Callers 4

normalizeExecutionErrorFunction · 0.85
drainJobsFunction · 0.85
waitForDeferredsFunction · 0.85
evaluateInQuickJsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected