UNPKG

ix

Version:

The Interactive Extensions for JavaScript

18 lines (14 loc) 505 B
import { AsyncIterableX } from '../../asynciterable/asynciterablex.js'; import { ConcatAllAsyncIterable } from '../../asynciterable/operators/concatall.js'; /** * @ignore */ export function concatAllProto<T>(this: AsyncIterableX<AsyncIterable<T>>): AsyncIterableX<T> { return new ConcatAllAsyncIterable<T>(this); } AsyncIterableX.prototype.concatAll = concatAllProto; declare module '../../asynciterable/asynciterablex' { interface AsyncIterableX<T> { concatAll: typeof concatAllProto; } }