ixfx
    Preparing search index...
    • Returns an array of values from an iterator.

      const data = await toArray(adsrIterable(opts, 10));
      

      Note: If the iterator is infinite, be sure to provide a limit via the options or the function will never return.

      Type Parameters

      • V

      Parameters

      • it: Iterable<V>

        Asynchronous iterable

      • options: Partial<ToArrayOptions> = {}

        Options when converting to array.

      Returns V[]