ix
Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Type parameters

  • T

Hierarchy

  • AsyncIterableX

Implements

  • AsyncIterable<T>

Index

Methods

Abstract __@asyncIterator

  • __@asyncIterator(): AsyncIterator<T>

forEach

  • forEach(projection: function, thisArg?: any): Promise<void>
  • Parameters

    • projection: function
        • (value: T, index: number): void | Promise<void>
        • Parameters

          • value: T
          • index: number

          Returns void | Promise<void>

    • Optional thisArg: any

    Returns Promise<void>

pipe

Static as

  • as(source: string): AsyncIterableX<string>
  • as<T>(source: AsyncIterableInput<T>): AsyncIterableX<T>
  • as<T>(source: T): AsyncIterableX<T>

Static from

  • from<TSource, TResult>(source: AsyncIterableInput<TSource>, selector?: function, thisArg?: any): AsyncIterableX<TResult>
  • Type parameters

    • TSource

    • TResult

    Parameters

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

          • value: TSource
          • index: number

          Returns TResult | Promise<TResult>

    • Optional thisArg: any

    Returns AsyncIterableX<TResult>

Static of

  • of<TSource>(...args: TSource[]): AsyncIterableX<TSource>

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc