(capacity: number)
| 535 | * @since 2.0.0 |
| 536 | */ |
| 537 | export const sliding = <A, E = never>(capacity: number): Effect<Queue<A, E>> => make({ capacity, strategy: "sliding" }) |
| 538 | |
| 539 | /** |
| 540 | * Creates a bounded queue with dropping strategy. When the queue reaches capacity, |