Package: effect
Module: TQueue
Creates a bounded queue with the back pressure strategy. The queue will retain values until they have been taken, applying back pressure to offerors if the queue is at capacity.
For best performance use capacities that are powers of two.
Signature
declare const bounded: <A>(requestedCapacity: number) => STM.STM<TQueue<A>>
Since v2.0.0