/** * 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. * * @tsplus static effect/core/stm/TQueue.Ops bounded */ export function bounded( requestedCapacity: number ): USTM> { return TQueue.make(requestedCapacity, TQueue.BackPressure) }