UNPKG

447 BTypeScriptView Raw
1import { AsyncIterableX } from './asynciterablex';
2export declare class TakeUntilAsyncIterable<TSource> extends AsyncIterableX<TSource> {
3 private _source;
4 private _other;
5 constructor(source: AsyncIterable<TSource>, other: () => Promise<any>);
6 [Symbol.asyncIterator](): AsyncIterableIterator<TSource>;
7}
8export declare function takeUntil<TSource>(source: AsyncIterable<TSource>, other: () => Promise<any>): AsyncIterableX<TSource>;