import * as tsplus_module_1 from "@effect/core/stm/STM/operations/succeedNow";
import * as tsplus_module_2 from "@effect/core/stm/STM/operations/foldSTM";
/**
 * Returns a new effect where the error channel has been merged into the
 * success channel to their common combined type.
 *
 * @tsplus getter ets/STM merge
 */

export function merge(self) {
  return tsplus_module_2.foldSTM_(self, e => tsplus_module_1.succeedNow(e), tsplus_module_1.succeedNow);
}
//# sourceMappingURL=merge.mjs.map