(/** @type {Array<(value?: any) => void>} */ arr)
| 130 | const QUEUE_HWM = 16 |
| 131 | |
| 132 | const wakeOne = (/** @type {Array<(value?: any) => void>} */ arr) => { |
| 133 | const w = arr.shift() |
| 134 | if (w) w() |
| 135 | } |
| 136 | const wakeAll = (/** @type {Array<(value?: any) => void>} */ arr) => { |
| 137 | while (arr.length) /** @type {(value?: any) => void} */ (arr.shift())() |
| 138 | } |
no outgoing calls
no test coverage detected