import { Strategy } from "@effect/core/io/Queue/operations/strategy" /** * Makes a new unbounded queue. * * @tsplus static effect/core/io/Queue.Ops unbounded */ export function unbounded(): Effect> { return Effect.sync(MutableQueue.unbounded()).flatMap((queue) => Queue.create(queue, Strategy.Dropping()) ) }