Package: effect
Module: Queue
Takes the specified number of elements from the queue. If there are fewer than the specified number of elements available, it suspends until they become available.
Signature
declare const takeN: { (n: number): <A>(self: Dequeue<A>) => Effect.Effect<Chunk.Chunk<A>>; <A>(self: Dequeue<A>, n: number): Effect.Effect<Chunk.Chunk<A>>; }
Since v2.0.0