(operations: ReadonlySet<Promise<unknown>>)
| 106 | } |
| 107 | |
| 108 | async function drainHostToolOperations(operations: ReadonlySet<Promise<unknown>>): Promise<void> { |
| 109 | while (operations.size > 0) await Promise.allSettled([...operations]); |
| 110 | } |
| 111 | |
| 112 | function normalizeQuickJsError(error: unknown): CodeModeDiagnostic { |
| 113 | const message = error instanceof Error ? error.message : String(error); |
no outgoing calls
no test coverage detected