@cprecioso/async-iterable-helpers
    Preparing search index...

    Function take

    • Yields at most the first n items, then stops consuming the source.

      Type Parameters

      • T

      Parameters

      • n: number

        The maximum number of items to yield.

      Returns PipeFn<T, Awaited<T>>

      A pipe that yields up to n items.