it
    Preparing search index...

    Function default

    • Takes an (async) iterable and returns one with each item mapped by the passed function

      Type Parameters

      • I
      • O

      Parameters

      Returns AsyncGenerator<O, void, undefined>

    • Takes an (async) iterable and returns one with each item mapped by the passed function

      Type Parameters

      • I
      • O

      Parameters

      Returns Generator<O, void, undefined>

    • Takes an (async) iterable and returns one with each item mapped by the passed function

      Type Parameters

      • I
      • O

      Parameters

      • source: AsyncIterable<I, any, any> | Iterable<I, any, any>
      • func: (val: I, index: number) => O | Promise<O>

      Returns AsyncGenerator<O, void, undefined>