import * as tsplus_module_1 from "@effect/core/stm/STM/operations/succeed";
import * as tsplus_module_2 from "@effect/core/stm/STM/operations/zipRight";
/**
 * Returns an `STM` effect that succeeds with `undefined`.
 *
 * @tsplus static ets/STM/Ops unit
 */

const unit_1 = /*#__PURE__*/tsplus_module_1.succeed(() => undefined);
export const unit_ = unit_1;
/**
 * Ignores the result of the transactional effect replacing it with `undefined`.
 *
 * @tsplus getter ets/STM unit
 */

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