Class AsyncIterable<T>Abstract

This class serves as the base for all operations which support [Symbol.asyncIterator].

Type Parameters

  • T

Hierarchy

  • AsyncIterable

Implements

  • AsyncIterable<T>

Constructors

Properties

average: {
    (this, options?): Promise<number>;
    <TSource>(this, options?): Promise<number>;
}

Type declaration

    • (this, options?): Promise<number>
    • Parameters

      • this: AsyncIterable<number>
      • Optional options: MathOptions<number>

      Returns Promise<number>

    • <TSource>(this, options?): Promise<number>
    • Type Parameters

      • TSource

      Parameters

      • this: AsyncIterable<TSource>
      • Optional options: MathOptions<TSource>

      Returns Promise<number>

batch: {}

Type declaration

    buffer: {}

    Type declaration

      catchError: {}

      Type declaration

        combineLatest: {
            <T, T2, T3>(this, source2, source3): AsyncIterable<[T, T2, T3]>;
            <T, T2, T3, T4>(this, source2, source3, source4): AsyncIterable<[T, T2, T3, T4]>;
            <T, T2, T3, T4, T5>(this, source2, source3, source4, source5): AsyncIterable<[T, T2, T3, T4, T5]>;
            <T, T2, T3, T4, T5, T6>(this, source2, source3, source4, source5, source6): AsyncIterable<[T, T2, T3, T4, T5, T6]>;
            <T>(this, ...sources): AsyncIterable<T[]>;
        }

        Type declaration

          • <T, T2, T3>(this, source2, source3): AsyncIterable<[T, T2, T3]>
          • Type Parameters

            • T

            • T2

            • T3

            Parameters

            • this: AsyncIterable<T>
            • source2: AsyncIterable<T2>
            • source3: AsyncIterable<T3>

            Returns AsyncIterable<[T, T2, T3]>

          • <T, T2, T3, T4>(this, source2, source3, source4): AsyncIterable<[T, T2, T3, T4]>
          • Type Parameters

            • T

            • T2

            • T3

            • T4

            Parameters

            • this: AsyncIterable<T>
            • source2: AsyncIterable<T2>
            • source3: AsyncIterable<T3>
            • source4: AsyncIterable<T4>

            Returns AsyncIterable<[T, T2, T3, T4]>

          • <T, T2, T3, T4, T5>(this, source2, source3, source4, source5): AsyncIterable<[T, T2, T3, T4, T5]>
          • Type Parameters

            • T

            • T2

            • T3

            • T4

            • T5

            Parameters

            • this: AsyncIterable<T>
            • source2: AsyncIterable<T2>
            • source3: AsyncIterable<T3>
            • source4: AsyncIterable<T4>
            • source5: AsyncIterable<T5>

            Returns AsyncIterable<[T, T2, T3, T4, T5]>

          • <T, T2, T3, T4, T5, T6>(this, source2, source3, source4, source5, source6): AsyncIterable<[T, T2, T3, T4, T5, T6]>
          • Type Parameters

            • T

            • T2

            • T3

            • T4

            • T5

            • T6

            Parameters

            • this: AsyncIterable<T>
            • source2: AsyncIterable<T2>
            • source3: AsyncIterable<T3>
            • source4: AsyncIterable<T4>
            • source5: AsyncIterable<T5>
            • source6: AsyncIterable<T6>

            Returns AsyncIterable<[T, T2, T3, T4, T5, T6]>

          • <T>(this, ...sources): AsyncIterable<T[]>
          • Type Parameters

            • T

            Parameters

            Returns AsyncIterable<T[]>

        concat: {}

        Type declaration

          concatAll: {}

          Type declaration

            concatMap: {}

            Type declaration

              count: {}

              Type declaration

                debounce: {}

                Type declaration

                  defaultIfEmpty: {}

                  Type declaration

                    delay: (<TSource>(this, dueTime) => AsyncIterable<TSource>)

                    Type declaration

                    delayEach: (<TSource>(this, dueTime) => AsyncIterable<TSource>)

                    Type declaration

                    distinct: {}

                    Type declaration

                      distinctUntilChanged: {}

                      Type declaration

                        doWhile: {}

                        Type declaration

                          elementAt: {}

                          Type declaration

                            endWith: {}

                            Type declaration

                              every: {}

                              Type declaration

                                except: {}

                                Type declaration

                                  expand: {}

                                  Type declaration

                                    filter: (<T>(this, predicate, thisArg?) => AsyncIterable<T>)

                                    Type declaration

                                      • <T>(this, predicate, thisArg?): AsyncIterable<T>
                                      • Type Parameters

                                        • T

                                        Parameters

                                        • this: AsyncIterable<T>
                                        • predicate: ((value, index, signal?) => boolean | Promise<boolean>)
                                            • (value, index, signal?): boolean | Promise<boolean>
                                            • Parameters

                                              • value: T
                                              • index: number
                                              • Optional signal: AbortSignal

                                              Returns boolean | Promise<boolean>

                                        • Optional thisArg: any

                                        Returns AsyncIterable<T>

                                    finalize: {}

                                    Type declaration

                                      find: {}

                                      Type declaration

                                        findIndex: {}

                                        Type declaration

                                          first: {}

                                          Type declaration

                                            flat: {}

                                            Type declaration

                                              flatMap: {}

                                              Type declaration

                                                forkJoin: {
                                                    <T, T2, T3>(this, source2, source3): Promise<[T, T2, T3] | undefined>;
                                                    <T, T2, T3, T4>(this, source2, source3, source4): Promise<[T, T2, T3, T4] | undefined>;
                                                    <T, T2, T3, T4, T5>(this, source2, source3, source4, source5): Promise<[T, T2, T3, T4, T5] | undefined>;
                                                    <T, T2, T3, T4, T5, T6>(this, source2, source3, source4, source5, source6): Promise<[T, T2, T3, T4, T5, T6] | undefined>;
                                                    <T>(this, ...sources): Promise<T[] | undefined>;
                                                }

                                                Type declaration

                                                  • <T, T2, T3>(this, source2, source3): Promise<[T, T2, T3] | undefined>
                                                  • Type Parameters

                                                    • T

                                                    • T2

                                                    • T3

                                                    Parameters

                                                    • this: AsyncIterable<T>
                                                    • source2: AsyncIterable<T2>
                                                    • source3: AsyncIterable<T3>

                                                    Returns Promise<[T, T2, T3] | undefined>

                                                  • <T, T2, T3, T4>(this, source2, source3, source4): Promise<[T, T2, T3, T4] | undefined>
                                                  • Type Parameters

                                                    • T

                                                    • T2

                                                    • T3

                                                    • T4

                                                    Parameters

                                                    • this: AsyncIterable<T>
                                                    • source2: AsyncIterable<T2>
                                                    • source3: AsyncIterable<T3>
                                                    • source4: AsyncIterable<T4>

                                                    Returns Promise<[T, T2, T3, T4] | undefined>

                                                  • <T, T2, T3, T4, T5>(this, source2, source3, source4, source5): Promise<[T, T2, T3, T4, T5] | undefined>
                                                  • Type Parameters

                                                    • T

                                                    • T2

                                                    • T3

                                                    • T4

                                                    • T5

                                                    Parameters

                                                    • this: AsyncIterable<T>
                                                    • source2: AsyncIterable<T2>
                                                    • source3: AsyncIterable<T3>
                                                    • source4: AsyncIterable<T4>
                                                    • source5: AsyncIterable<T5>

                                                    Returns Promise<[T, T2, T3, T4, T5] | undefined>

                                                  • <T, T2, T3, T4, T5, T6>(this, source2, source3, source4, source5, source6): Promise<[T, T2, T3, T4, T5, T6] | undefined>
                                                  • Type Parameters

                                                    • T

                                                    • T2

                                                    • T3

                                                    • T4

                                                    • T5

                                                    • T6

                                                    Parameters

                                                    • this: AsyncIterable<T>
                                                    • source2: AsyncIterable<T2>
                                                    • source3: AsyncIterable<T3>
                                                    • source4: AsyncIterable<T4>
                                                    • source5: AsyncIterable<T5>
                                                    • source6: AsyncIterable<T6>

                                                    Returns Promise<[T, T2, T3, T4, T5, T6] | undefined>

                                                  • <T>(this, ...sources): Promise<T[] | undefined>
                                                  • Type Parameters

                                                    • T

                                                    Parameters

                                                    Returns Promise<T[] | undefined>

                                                groupBy: {
                                                    <TSource, TKey>(this, keySelector): AsyncIterable<GroupedAsyncIterable<TKey, TSource>>;
                                                    <TSource, TKey, TValue>(this, keySelector, elementSelector?): AsyncIterable<GroupedAsyncIterable<TKey, TValue>>;
                                                }

                                                Type declaration

                                                  • <TSource, TKey>(this, keySelector): AsyncIterable<GroupedAsyncIterable<TKey, TSource>>
                                                  • Type Parameters

                                                    • TSource

                                                    • TKey

                                                    Parameters

                                                    • this: AsyncIterable<TSource>
                                                    • keySelector: ((value, signal?) => TKey | Promise<TKey>)
                                                        • (value, signal?): TKey | Promise<TKey>
                                                        • Parameters

                                                          • value: TSource
                                                          • Optional signal: AbortSignal

                                                          Returns TKey | Promise<TKey>

                                                    Returns AsyncIterable<GroupedAsyncIterable<TKey, TSource>>

                                                  • <TSource, TKey, TValue>(this, keySelector, elementSelector?): AsyncIterable<GroupedAsyncIterable<TKey, TValue>>
                                                  • Type Parameters

                                                    • TSource

                                                    • TKey

                                                    • TValue

                                                    Parameters

                                                    • this: AsyncIterable<TSource>
                                                    • keySelector: ((value, signal?) => TKey | Promise<TKey>)
                                                        • (value, signal?): TKey | Promise<TKey>
                                                        • Parameters

                                                          • value: TSource
                                                          • Optional signal: AbortSignal

                                                          Returns TKey | Promise<TKey>

                                                    • Optional elementSelector: ((value, signal?) => TValue | Promise<TValue>)
                                                        • (value, signal?): TValue | Promise<TValue>
                                                        • Parameters

                                                          • value: TSource
                                                          • Optional signal: AbortSignal

                                                          Returns TValue | Promise<TValue>

                                                    Returns AsyncIterable<GroupedAsyncIterable<TKey, TValue>>

                                                groupJoin: {}

                                                Type declaration

                                                  ignoreElements: {}

                                                  Type declaration

                                                    includes: {}

                                                    Type declaration

                                                      innerJoin: {}

                                                      Type declaration

                                                        intersect: {}

                                                        Type declaration

                                                          isEmpty: {}

                                                          Type declaration

                                                            last: {}

                                                            Type declaration

                                                              map: {}

                                                              Type declaration

                                                                max: (<TSource, TResult>(this, options?) => Promise<TResult>)

                                                                Type declaration

                                                                  • <TSource, TResult>(this, options?): Promise<TResult>
                                                                  • Type Parameters

                                                                    • TSource

                                                                    • TResult = TSource

                                                                    Parameters

                                                                    • this: AsyncIterable<TSource>
                                                                    • Optional options: ExtremaOptions<TSource, TResult>

                                                                    Returns Promise<TResult>

                                                                maxBy: {}

                                                                Type declaration

                                                                  memoize: {
                                                                      <T>(this, readerCount?): AsyncIterable<T>;
                                                                      <T, R>(this, readerCount?, selector?): AsyncIterable<R>;
                                                                  }

                                                                  Type declaration

                                                                    • <T>(this, readerCount?): AsyncIterable<T>
                                                                    • Type Parameters

                                                                      • T

                                                                      Parameters

                                                                      Returns AsyncIterable<T>

                                                                    • <T, R>(this, readerCount?, selector?): AsyncIterable<R>
                                                                    • Type Parameters

                                                                      • T

                                                                      • R

                                                                      Parameters

                                                                      • this: AsyncIterable<T>
                                                                      • Optional readerCount: number
                                                                      • Optional selector: ((value, signal?) => AsyncIterable<R>)
                                                                          • (value, signal?): AsyncIterable<R>
                                                                          • Parameters

                                                                            • value: AsyncIterable<T>
                                                                            • Optional signal: AbortSignal

                                                                            Returns AsyncIterable<R>

                                                                      Returns AsyncIterable<R>

                                                                  merge: {}

                                                                  Type declaration

                                                                    mergeAll: {}

                                                                    Type declaration

                                                                      min: (<TSource, TResult>(this, options?) => Promise<TResult>)

                                                                      Type declaration

                                                                        • <TSource, TResult>(this, options?): Promise<TResult>
                                                                        • Type Parameters

                                                                          • TSource

                                                                          • TResult = TSource

                                                                          Parameters

                                                                          • this: AsyncIterable<TSource>
                                                                          • Optional options: ExtremaOptions<TSource, TResult>

                                                                          Returns Promise<TResult>

                                                                      minBy: {}

                                                                      Type declaration

                                                                        onErrorResumeNext: {}

                                                                        Type declaration

                                                                          orderBy: {}

                                                                          Type declaration

                                                                            orderByDescending: {}

                                                                            Type declaration

                                                                              pairwise: {}

                                                                              Type declaration

                                                                                pluck: {}

                                                                                Type declaration

                                                                                  publish: {
                                                                                      <TSource>(this): AsyncIterable<TSource>;
                                                                                      <TSource, TResult>(this, selector?): AsyncIterable<TResult>;
                                                                                  }

                                                                                  Type declaration

                                                                                    • <TSource>(this): AsyncIterable<TSource>
                                                                                    • Type Parameters

                                                                                      • TSource

                                                                                      Parameters

                                                                                      Returns AsyncIterable<TSource>

                                                                                    • <TSource, TResult>(this, selector?): AsyncIterable<TResult>
                                                                                    • Type Parameters

                                                                                      • TSource

                                                                                      • TResult

                                                                                      Parameters

                                                                                      • this: AsyncIterable<TSource>
                                                                                      • Optional selector: ((value) => AsyncIterable<TResult>)
                                                                                          • (value): AsyncIterable<TResult>
                                                                                          • Parameters

                                                                                            • value: AsyncIterable<TSource>

                                                                                            Returns AsyncIterable<TResult>

                                                                                      Returns AsyncIterable<TResult>

                                                                                  reduce: {}

                                                                                  Type declaration

                                                                                    reduceRight: {}

                                                                                    Type declaration

                                                                                      repeat: {}

                                                                                      Type declaration

                                                                                        retry: {}

                                                                                        Type declaration

                                                                                          reverse: {}

                                                                                          Type declaration

                                                                                            scan: {}

                                                                                            Type declaration

                                                                                              scanRight: {}

                                                                                              Type declaration

                                                                                                sequenceEqual: {}

                                                                                                Type declaration

                                                                                                  share: {
                                                                                                      <TSource>(this): AsyncIterable<TSource>;
                                                                                                      <TSource, TResult>(this, selector?): AsyncIterable<TResult>;
                                                                                                  }

                                                                                                  Type declaration

                                                                                                    • <TSource>(this): AsyncIterable<TSource>
                                                                                                    • Type Parameters

                                                                                                      • TSource

                                                                                                      Parameters

                                                                                                      Returns AsyncIterable<TSource>

                                                                                                    • <TSource, TResult>(this, selector?): AsyncIterable<TResult>
                                                                                                    • Type Parameters

                                                                                                      • TSource

                                                                                                      • TResult

                                                                                                      Parameters

                                                                                                      • this: AsyncIterable<TSource>
                                                                                                      • Optional selector: ((value) => AsyncIterable<TResult> | Promise<AsyncIterable<TResult>>)
                                                                                                          • (value): AsyncIterable<TResult> | Promise<AsyncIterable<TResult>>
                                                                                                          • Parameters

                                                                                                            • value: AsyncIterable<TSource>

                                                                                                            Returns AsyncIterable<TResult> | Promise<AsyncIterable<TResult>>

                                                                                                      Returns AsyncIterable<TResult>

                                                                                                  single: {}

                                                                                                  Type declaration

                                                                                                    skip: {}

                                                                                                    Type declaration

                                                                                                      skipLast: {}

                                                                                                      Type declaration

                                                                                                        skipUntil: {}

                                                                                                        Type declaration

                                                                                                          skipWhile: (<T>(this, predicate) => AsyncIterable<T>)

                                                                                                          Type declaration

                                                                                                            • <T>(this, predicate): AsyncIterable<T>
                                                                                                            • Type Parameters

                                                                                                              • T

                                                                                                              Parameters

                                                                                                              • this: AsyncIterable<T>
                                                                                                              • predicate: ((value, index, signal?) => boolean | Promise<boolean>)
                                                                                                                  • (value, index, signal?): boolean | Promise<boolean>
                                                                                                                  • Parameters

                                                                                                                    • value: T
                                                                                                                    • index: number
                                                                                                                    • Optional signal: AbortSignal

                                                                                                                    Returns boolean | Promise<boolean>

                                                                                                              Returns AsyncIterable<T>

                                                                                                          slice: {}

                                                                                                          Type declaration

                                                                                                            some: {}

                                                                                                            Type declaration

                                                                                                              startWith: {}

                                                                                                              Type declaration

                                                                                                                sum: {
                                                                                                                    (this, options?): Promise<number>;
                                                                                                                    <T>(this, options?): Promise<number>;
                                                                                                                }

                                                                                                                Type declaration

                                                                                                                  • (this, options?): Promise<number>
                                                                                                                  • Parameters

                                                                                                                    • this: AsyncIterable<number>
                                                                                                                    • Optional options: MathOptions<number>

                                                                                                                    Returns Promise<number>

                                                                                                                  • <T>(this, options?): Promise<number>
                                                                                                                  • Type Parameters

                                                                                                                    • T

                                                                                                                    Parameters

                                                                                                                    • this: AsyncIterable<T>
                                                                                                                    • Optional options: MathOptions<T>

                                                                                                                    Returns Promise<number>

                                                                                                                switchAll: {}

                                                                                                                Type declaration

                                                                                                                  switchMap: {}

                                                                                                                  Type declaration

                                                                                                                    take: {}

                                                                                                                    Type declaration

                                                                                                                      takeLast: {}

                                                                                                                      Type declaration

                                                                                                                        takeUntil: {}

                                                                                                                        Type declaration

                                                                                                                          takeWhile: (<T>(this, predicate) => AsyncIterable<T>)

                                                                                                                          Type declaration

                                                                                                                            • <T>(this, predicate): AsyncIterable<T>
                                                                                                                            • Type Parameters

                                                                                                                              • T

                                                                                                                              Parameters

                                                                                                                              • this: AsyncIterable<T>
                                                                                                                              • predicate: ((value, index, signal?) => boolean | Promise<boolean>)
                                                                                                                                  • (value, index, signal?): boolean | Promise<boolean>
                                                                                                                                  • Parameters

                                                                                                                                    • value: T
                                                                                                                                    • index: number
                                                                                                                                    • Optional signal: AbortSignal

                                                                                                                                    Returns boolean | Promise<boolean>

                                                                                                                              Returns AsyncIterable<T>

                                                                                                                          tap: {}

                                                                                                                          Type declaration

                                                                                                                            throttle: {}

                                                                                                                            Type declaration

                                                                                                                              toArray: {}

                                                                                                                              Type declaration

                                                                                                                                toDOMStream: {
                                                                                                                                    <T>(this, options): ReadableStream<Uint8Array>;
                                                                                                                                    <T>(this, options): ReadableStream<Uint8Array>;
                                                                                                                                }

                                                                                                                                Type declaration

                                                                                                                                  • <T>(this, options): ReadableStream<Uint8Array>
                                                                                                                                  • Type Parameters

                                                                                                                                    • T

                                                                                                                                    Parameters

                                                                                                                                    • this: AsyncIterable<T>
                                                                                                                                    • options: ReadableBYOBStreamOptions<Uint8Array>

                                                                                                                                    Returns ReadableStream<Uint8Array>

                                                                                                                                  • <T>(this, options): ReadableStream<Uint8Array>
                                                                                                                                  • Type Parameters

                                                                                                                                    • T

                                                                                                                                    Parameters

                                                                                                                                    • this: AsyncIterable<T>
                                                                                                                                    • options: ReadableByteStreamOptions<Uint8Array>

                                                                                                                                    Returns ReadableStream<Uint8Array>

                                                                                                                                toMap: (<TSource, TKey, TElement>(this, options) => Promise<Map<TKey, TElement | TSource>>)

                                                                                                                                Type declaration

                                                                                                                                  • <TSource, TKey, TElement>(this, options): Promise<Map<TKey, TElement | TSource>>
                                                                                                                                  • Type Parameters

                                                                                                                                    • TSource

                                                                                                                                    • TKey

                                                                                                                                    • TElement = TSource

                                                                                                                                    Parameters

                                                                                                                                    • this: AsyncIterable<TSource>
                                                                                                                                    • options: ToMapOptions<TSource, TKey, TElement>

                                                                                                                                    Returns Promise<Map<TKey, TElement | TSource>>

                                                                                                                                toNodeStream: {
                                                                                                                                    <TSource>(this, options): AsyncIterableReadable<TSource>;
                                                                                                                                    <TSource>(this, options): AsyncIterableReadable<TSource>;
                                                                                                                                }

                                                                                                                                Type declaration

                                                                                                                                  • <TSource>(this, options): AsyncIterableReadable<TSource>
                                                                                                                                  • Type Parameters

                                                                                                                                    • TSource

                                                                                                                                    Parameters

                                                                                                                                    • this: AsyncIterable<TSource>
                                                                                                                                    • options: ReadableOptions & {
                                                                                                                                          objectMode: true;
                                                                                                                                      }

                                                                                                                                    Returns AsyncIterableReadable<TSource>

                                                                                                                                  • <TSource>(this, options): AsyncIterableReadable<TSource>
                                                                                                                                  • Type Parameters

                                                                                                                                    • TSource extends BufferLike

                                                                                                                                    Parameters

                                                                                                                                    • this: AsyncIterable<TSource>
                                                                                                                                    • options: ReadableOptions & {
                                                                                                                                          objectMode: false;
                                                                                                                                      }

                                                                                                                                    Returns AsyncIterableReadable<TSource>

                                                                                                                                toObservable: {}

                                                                                                                                Type declaration

                                                                                                                                  toSet: {}

                                                                                                                                  Type declaration

                                                                                                                                    union: {}

                                                                                                                                    Type declaration

                                                                                                                                      withLatestFrom: {
                                                                                                                                          <T, T2, T3>(this, source2, source3): AsyncIterable<[T, T2, T3]>;
                                                                                                                                          <T, T2, T3, T4>(this, source2, source3, source4): AsyncIterable<[T, T2, T3, T4]>;
                                                                                                                                          <T, T2, T3, T4, T5>(this, source2, source3, source4, source5): AsyncIterable<[T, T2, T3, T4, T5]>;
                                                                                                                                          <T, T2, T3, T4, T5, T6>(this, source2, source3, source4, source5, source6): AsyncIterable<[T, T2, T3, T4, T5, T6]>;
                                                                                                                                          <T>(this, ...sources): AsyncIterable<T[]>;
                                                                                                                                      }

                                                                                                                                      Type declaration

                                                                                                                                        • <T, T2, T3>(this, source2, source3): AsyncIterable<[T, T2, T3]>
                                                                                                                                        • Type Parameters

                                                                                                                                          • T

                                                                                                                                          • T2

                                                                                                                                          • T3

                                                                                                                                          Parameters

                                                                                                                                          • this: AsyncIterable<T>
                                                                                                                                          • source2: AsyncIterable<T2>
                                                                                                                                          • source3: AsyncIterable<T3>

                                                                                                                                          Returns AsyncIterable<[T, T2, T3]>

                                                                                                                                        • <T, T2, T3, T4>(this, source2, source3, source4): AsyncIterable<[T, T2, T3, T4]>
                                                                                                                                        • Type Parameters

                                                                                                                                          • T

                                                                                                                                          • T2

                                                                                                                                          • T3

                                                                                                                                          • T4

                                                                                                                                          Parameters

                                                                                                                                          • this: AsyncIterable<T>
                                                                                                                                          • source2: AsyncIterable<T2>
                                                                                                                                          • source3: AsyncIterable<T3>
                                                                                                                                          • source4: AsyncIterable<T4>

                                                                                                                                          Returns AsyncIterable<[T, T2, T3, T4]>

                                                                                                                                        • <T, T2, T3, T4, T5>(this, source2, source3, source4, source5): AsyncIterable<[T, T2, T3, T4, T5]>
                                                                                                                                        • Type Parameters

                                                                                                                                          • T

                                                                                                                                          • T2

                                                                                                                                          • T3

                                                                                                                                          • T4

                                                                                                                                          • T5

                                                                                                                                          Parameters

                                                                                                                                          • this: AsyncIterable<T>
                                                                                                                                          • source2: AsyncIterable<T2>
                                                                                                                                          • source3: AsyncIterable<T3>
                                                                                                                                          • source4: AsyncIterable<T4>
                                                                                                                                          • source5: AsyncIterable<T5>

                                                                                                                                          Returns AsyncIterable<[T, T2, T3, T4, T5]>

                                                                                                                                        • <T, T2, T3, T4, T5, T6>(this, source2, source3, source4, source5, source6): AsyncIterable<[T, T2, T3, T4, T5, T6]>
                                                                                                                                        • Type Parameters

                                                                                                                                          • T

                                                                                                                                          • T2

                                                                                                                                          • T3

                                                                                                                                          • T4

                                                                                                                                          • T5

                                                                                                                                          • T6

                                                                                                                                          Parameters

                                                                                                                                          • this: AsyncIterable<T>
                                                                                                                                          • source2: AsyncIterable<T2>
                                                                                                                                          • source3: AsyncIterable<T3>
                                                                                                                                          • source4: AsyncIterable<T4>
                                                                                                                                          • source5: AsyncIterable<T5>
                                                                                                                                          • source6: AsyncIterable<T6>

                                                                                                                                          Returns AsyncIterable<[T, T2, T3, T4, T5, T6]>

                                                                                                                                        • <T>(this, ...sources): AsyncIterable<T[]>
                                                                                                                                        • Type Parameters

                                                                                                                                          • T

                                                                                                                                          Parameters

                                                                                                                                          Returns AsyncIterable<T[]>

                                                                                                                                      zip: {
                                                                                                                                          <T, T2, T3>(this, source2, source3): AsyncIterable<[T, T2, T3]>;
                                                                                                                                          <T, T2, T3, T4>(this, source2, source3, source4): AsyncIterable<[T, T2, T3, T4]>;
                                                                                                                                          <T, T2, T3, T4, T5>(this, source2, source3, source4, source5): AsyncIterable<[T, T2, T3, T4, T5]>;
                                                                                                                                          <T, T2, T3, T4, T5, T6>(this, source2, source3, source4, source5, source6): AsyncIterable<[T, T2, T3, T4, T5, T6]>;
                                                                                                                                          <T>(this, ...sources): AsyncIterable<T[]>;
                                                                                                                                      }

                                                                                                                                      Type declaration

                                                                                                                                        • <T, T2, T3>(this, source2, source3): AsyncIterable<[T, T2, T3]>
                                                                                                                                        • Type Parameters

                                                                                                                                          • T

                                                                                                                                          • T2

                                                                                                                                          • T3

                                                                                                                                          Parameters

                                                                                                                                          • this: AsyncIterable<T>
                                                                                                                                          • source2: AsyncIterable<T2>
                                                                                                                                          • source3: AsyncIterable<T3>

                                                                                                                                          Returns AsyncIterable<[T, T2, T3]>

                                                                                                                                        • <T, T2, T3, T4>(this, source2, source3, source4): AsyncIterable<[T, T2, T3, T4]>
                                                                                                                                        • Type Parameters

                                                                                                                                          • T

                                                                                                                                          • T2

                                                                                                                                          • T3

                                                                                                                                          • T4

                                                                                                                                          Parameters

                                                                                                                                          • this: AsyncIterable<T>
                                                                                                                                          • source2: AsyncIterable<T2>
                                                                                                                                          • source3: AsyncIterable<T3>
                                                                                                                                          • source4: AsyncIterable<T4>

                                                                                                                                          Returns AsyncIterable<[T, T2, T3, T4]>

                                                                                                                                        • <T, T2, T3, T4, T5>(this, source2, source3, source4, source5): AsyncIterable<[T, T2, T3, T4, T5]>
                                                                                                                                        • Type Parameters

                                                                                                                                          • T

                                                                                                                                          • T2

                                                                                                                                          • T3

                                                                                                                                          • T4

                                                                                                                                          • T5

                                                                                                                                          Parameters

                                                                                                                                          • this: AsyncIterable<T>
                                                                                                                                          • source2: AsyncIterable<T2>
                                                                                                                                          • source3: AsyncIterable<T3>
                                                                                                                                          • source4: AsyncIterable<T4>
                                                                                                                                          • source5: AsyncIterable<T5>

                                                                                                                                          Returns AsyncIterable<[T, T2, T3, T4, T5]>

                                                                                                                                        • <T, T2, T3, T4, T5, T6>(this, source2, source3, source4, source5, source6): AsyncIterable<[T, T2, T3, T4, T5, T6]>
                                                                                                                                        • Type Parameters

                                                                                                                                          • T

                                                                                                                                          • T2

                                                                                                                                          • T3

                                                                                                                                          • T4

                                                                                                                                          • T5

                                                                                                                                          • T6

                                                                                                                                          Parameters

                                                                                                                                          • this: AsyncIterable<T>
                                                                                                                                          • source2: AsyncIterable<T2>
                                                                                                                                          • source3: AsyncIterable<T3>
                                                                                                                                          • source4: AsyncIterable<T4>
                                                                                                                                          • source5: AsyncIterable<T5>
                                                                                                                                          • source6: AsyncIterable<T6>

                                                                                                                                          Returns AsyncIterable<[T, T2, T3, T4, T5, T6]>

                                                                                                                                        • <T>(this, ...sources): AsyncIterable<T[]>
                                                                                                                                        • Type Parameters

                                                                                                                                          • T

                                                                                                                                          Parameters

                                                                                                                                          Returns AsyncIterable<T[]>

                                                                                                                                      Methods

                                                                                                                                      • Parameters

                                                                                                                                        • Optional signal: AbortSignal

                                                                                                                                        Returns AsyncIterator<T, any, undefined>

                                                                                                                                      • Parameters

                                                                                                                                        • projection: ((value, index, signal?) => void | Promise<void>)
                                                                                                                                            • (value, index, signal?): void | Promise<void>
                                                                                                                                            • Parameters

                                                                                                                                              • value: T
                                                                                                                                              • index: number
                                                                                                                                              • Optional signal: AbortSignal

                                                                                                                                              Returns void | Promise<void>

                                                                                                                                        • Optional thisArg: any
                                                                                                                                        • Optional signal: AbortSignal

                                                                                                                                        Returns Promise<void>

                                                                                                                                        Nocollapse

                                                                                                                                      • Type Parameters

                                                                                                                                        • R extends ReadableStream<any>

                                                                                                                                        Parameters

                                                                                                                                        • duplex: {
                                                                                                                                              readable: R;
                                                                                                                                              writable: WritableStream<T>;
                                                                                                                                          }
                                                                                                                                          • readable: R
                                                                                                                                          • writable: WritableStream<T>
                                                                                                                                        • Optional options: StreamPipeOptions

                                                                                                                                        Returns R

                                                                                                                                      • Parameters

                                                                                                                                        • writable: WritableStream<T>
                                                                                                                                        • Optional options: StreamPipeOptions

                                                                                                                                        Returns Promise<void>

                                                                                                                                      • Converts an existing string into an async-iterable of characters.

                                                                                                                                        Parameters

                                                                                                                                        • source: string

                                                                                                                                          The string to convert to an async-iterable.

                                                                                                                                        Returns AsyncIterable<string>

                                                                                                                                        An async-iterable stream of characters from the source.

                                                                                                                                      • Converts the AsyncIterable-like input or single element into an AsyncIterable.

                                                                                                                                        Type Parameters

                                                                                                                                        • T

                                                                                                                                          The type of elements in the async-iterable like sequence.

                                                                                                                                        Parameters

                                                                                                                                        • source: T | AsyncIterableInput<T>

                                                                                                                                          The async-iterable like input to convert to an async-iterable.

                                                                                                                                        Returns AsyncIterable<T>

                                                                                                                                        An async-iterable stream from elements in the async-iterable like sequence.

                                                                                                                                      • Converts the single element into an async-iterable sequence.

                                                                                                                                        Type Parameters

                                                                                                                                        • T

                                                                                                                                          The type of the input to turn into an async-iterable sequence.

                                                                                                                                        Parameters

                                                                                                                                        • source: T

                                                                                                                                          The single element to turn into an async-iterable sequence.

                                                                                                                                        Returns AsyncIterable<T>

                                                                                                                                        An async-iterable sequence which contains the single element.

                                                                                                                                      • Type Parameters

                                                                                                                                        • TSource

                                                                                                                                        • TResult = TSource

                                                                                                                                        Parameters

                                                                                                                                        • source: AsyncIterableInput<TSource>
                                                                                                                                        • selector: ((value, index) => TResult | Promise<TResult>) = identityAsync
                                                                                                                                            • (value, index): TResult | Promise<TResult>
                                                                                                                                            • Parameters

                                                                                                                                              • value: TSource
                                                                                                                                              • index: number

                                                                                                                                              Returns TResult | Promise<TResult>

                                                                                                                                        • Optional thisArg: any

                                                                                                                                        Returns AsyncIterable<TResult>

                                                                                                                                        Nocollapse

                                                                                                                                      Generated using TypeDoc