(requestedCapacity: number)
| 366 | |
| 367 | /** @internal */ |
| 368 | export const sliding = <A>(requestedCapacity: number): Effect.Effect<Queue.Queue<A>> => |
| 369 | pipe( |
| 370 | core.sync(() => MutableQueue.bounded<A>(requestedCapacity)), |
| 371 | core.flatMap((queue) => make(backingQueueFromMutableQueue(queue), slidingStrategy())) |
| 372 | ) |
| 373 | |
| 374 | /** @internal */ |
| 375 | export const unbounded = <A>(): Effect.Effect<Queue.Queue<A>> => |
nothing calls this directly
no test coverage detected