UNPKG

853 BTypeScriptView Raw
1import { AsyncIterableX } from './asynciterablex';
2export declare class OnErrorResumeNextAsyncIterable<TSource> extends AsyncIterableX<TSource> {
3 private _source;
4 constructor(source: Iterable<AsyncIterable<TSource>>);
5 [Symbol.asyncIterator](signal?: AbortSignal): AsyncGenerator<any, void, unknown>;
6}
7/**
8 * Concatenates all of the specified async-iterable sequences, even if the previous async-iterable sequence terminated exceptionally.
9 *
10 * @export
11 * @template T The type of the elements in the source sequences.
12 * @param {...AsyncIterable<T>[]} args Async-iterable sequences to concatenate.
13 * @returns {AsyncIterableX<T>} An async-iterable sequence that concatenates the source sequences, even if a sequence terminates exceptionally.
14 */
15export declare function onErrorResumeNext<T>(...args: AsyncIterable<T>[]): AsyncIterableX<T>;