import * as tsplus_module_1 from "@effect/core/stm/STM/operations/either";
import * as tsplus_module_2 from "@effect/core/stm/STM/operations/commit";
import * as tsplus_module_3 from "@effect/core/io/Effect/operations/absolve";
/**
 * Commits this transaction atomically, regardless of whether the transaction
 * is a success or a failure.
 *
 * @tsplus fluent ets/STM commitEither
 */

export function commitEither(self, __tsplusTrace) {
  return tsplus_module_3.absolveNow(tsplus_module_2.commit(tsplus_module_1.either(self), __tsplusTrace), __tsplusTrace);
}
//# sourceMappingURL=commitEither.mjs.map