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