Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "operators/utilities"

Index

Functions

Functions

forEach

  • forEach<T>(input: AsyncIterable<T>, fn: function): AsyncIterable<T>
  • Runs and awaits the given async function and then passes the values along.

    Type parameters

    • T

    Parameters

    • input: AsyncIterable<T>

      Input

    • fn: function

      Function

        • (value: T): Promise<void> | void
        • Parameters

          • value: T

          Returns Promise<void> | void

    Returns AsyncIterable<T>

    Output

Generated using TypeDoc