Wake all progress waiters so they re-check their condition.
()
| 111 | |
| 112 | /** Wake all progress waiters so they re-check their condition. */ |
| 113 | wake(): void { |
| 114 | if (this.progressWaiters.length === 0) return; |
| 115 | const waiters = this.progressWaiters; |
| 116 | this.progressWaiters = []; |
| 117 | for (const resolve of waiters) resolve(); |
| 118 | } |
| 119 | |
| 120 | close(): void { |
| 121 | if (this.closed) return; |
no test coverage detected