Package: effect
Module: TQueue
Creates a bounded queue with the sliding strategy. The queue will add new values and drop old values if the queue is at capacity.
For best performance use capacities that are powers of two.
Signature
declare const sliding: <A>(requestedCapacity: number) => STM.STM<TQueue<A>>
Since v2.0.0