import * as tsplus_module_1 from "@effect/core/io/Queue/operations/strategy";
import * as tsplus_module_2 from "@effect/core/io/Queue/external/create";
import * as tsplus_module_3 from "@tsplus/stdlib/collections/mutable/MutableQueue/unbounded";
import * as tsplus_module_4 from "@effect/core/io/Effect/operations/succeed";
import * as tsplus_module_5 from "@effect/core/io/Effect/operations/flatMap";
/**
 * Makes a new unbounded queue.
 *
 * @tsplus static ets/Queue/Ops unbounded
 */

export function unbounded(__tsplusTrace) {
  return tsplus_module_5.flatMap_(tsplus_module_4.succeed(() => tsplus_module_3.unbounded(), __tsplusTrace), queue => tsplus_module_2.create(queue, tsplus_module_1.dropppingStrategy(), __tsplusTrace), __tsplusTrace);
}
//# sourceMappingURL=unbounded.mjs.map