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