const fileName_1 = "(@effect/core) _src/io/Effect/operations/unit.ts";
import * as tsplus_module_1 from "@effect/core/io/Effect/operations/succeedNow";
import * as tsplus_module_2 from "@effect/core/io/Effect/operations/zipRight";
/**
 * An effect that succeeds with a unit value.
 *
 * @tsplus static ets/Effect/Ops unit
 */

const unit_1 = /*#__PURE__*/tsplus_module_1.succeedNow(undefined, fileName_1 + ":6:66");
export const unit = unit_1;
/**
 * An effect that succeeds with a unit value.
 *
 * @tsplus static ets/Effect/Ops unitTraced
 */

export function unitTraced(__tsplusTrace) {
  return tsplus_module_1.succeedNow(undefined, __tsplusTrace);
}
/**
 * Ignores the result of the effect replacing it with a void
 *
 * @tsplus fluent ets/Effect unit
 */

export function unit_(self, __tsplusTrace) {
  return tsplus_module_2.zipRight_(self, () => unit_1, __tsplusTrace);
}
//# sourceMappingURL=unit.mjs.map