* Constructs a new code MuxAsyncIterator instance. * * @param iterables The async iterables to multiplex.
(...iterables: AsyncIterable<T>[])
| 44 | * @param iterables The async iterables to multiplex. |
| 45 | */ |
| 46 | constructor(...iterables: AsyncIterable<T>[]) { |
| 47 | super(); |
| 48 | for (const iterable of iterables) this.add(iterable); |
| 49 | } |
| 50 | } |