• 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) => TResult)

      A transform function to apply to each source element.

        • (value, index): TResult
        • Parameters

          • value: TSource
          • index: number

          Returns TResult

    • Optional thisArg: any

      Optional this for binding to the selector.

    Returns OperatorFunction<TSource, TResult>

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

Generated using TypeDoc