Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "transforms/for-each"

Index

Functions

Functions

forEach

  • Calls a function for each item emitted by an observable without waiting for the function to return to forward the item. Exceptions thrown by the function will be caught and ignored.

    Type parameters

    • T

      Type of items emitted by the observable.

    Parameters

    • f: function

      Function called with each emitted value.

        • (x: T): Promise<unknown> | unknown
        • Parameters

          • x: T

          Returns Promise<unknown> | unknown

    Returns Transform<T>

    Transform that emits the same items as the original observable.

Generated using TypeDoc