ixfx
    Preparing search index...

    Function takeFromGenerator

    • Returns up to count items from the generator. If the generator finishes before count items are returned, then only the available items are returned.

      Type Parameters

      • V

      Parameters

      • generator: Generator<V>
      • count: number

      Returns V[]