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