(error: unknown)
| 316 | }; |
| 317 | |
| 318 | const rejectPending = (error: unknown) => { |
| 319 | while (pending.length > 0) { |
| 320 | pending.shift()?.reject(error); |
| 321 | } |
| 322 | }; |
| 323 | |
| 324 | const iterator: AsyncIterator<T> = { |
| 325 | next() { |
no outgoing calls
no test coverage detected