(operation: () => Promise<void>)
| 99 | } |
| 100 | |
| 101 | async function enqueueWrite(operation: () => Promise<void>): Promise<void> { |
| 102 | const next = writeQueue.then(operation, operation); |
| 103 | writeQueue = next.catch(() => undefined); |
| 104 | await next; |
| 105 | } |
| 106 | |
| 107 | async function sleepWithLog(config: RunnerConfig, label: string, delayMs: number): Promise<void> { |
| 108 | if (delayMs <= 0) return; |
no outgoing calls
no test coverage detected