• Projects each element of an async-enumerable sequence into a new form.

    Type Parameters

    • TSource

      The type of the elements in the source sequence.

    • TResult

      The type of the elements in the result sequence, obtained by running the selector function for each element in the source sequence.

    Parameters

    • selector: ((value, index, signal?) => TResult | Promise<TResult>)

      A transform function to apply to each source element.

        • (value, index, signal?): TResult | Promise<TResult>
        • Parameters

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

          Returns TResult | Promise<TResult>

    • Optional thisArg: any

      Optional this for binding to the selector.

    Returns OperatorAsyncFunction<TSource, TResult>

    An async-iterable sequence whose elements are the result of invoking the transform function on each element of source.

Generated using TypeDoc