(state: RunState)
| 123 | } |
| 124 | |
| 125 | private wake(state: RunState): void { |
| 126 | const waiters = [...state.waiters] |
| 127 | state.waiters.clear() |
| 128 | for (const resolve of waiters) resolve() |
| 129 | } |
| 130 | |
| 131 | // Mutators return a Promise without `async` so contract violations REJECT |
| 132 | // (rather than throwing synchronously from a Promise-typed method — a |
no test coverage detected