| 8 | * Allows asynchronous pushing of values that can be consumed via for-await-of |
| 9 | */ |
| 10 | export class PushableAsyncIterable<T> implements AsyncIterableIterator<T> { |
| 11 | private queue: T[] = [] |
| 12 | private waiters: Array<{ |
| 13 | resolve: (value: IteratorResult<T>) => void |
nothing calls this directly
no outgoing calls
no test coverage detected