import * as tsplus_module_1 from "@effect/core/io/Effect/operations/fromEither";
import * as tsplus_module_2 from "@effect/core/stream/Stream/operations/mapEffect";
/**
 * Submerges the error case of an `Either` into the `Stream`.
 *
 * @tsplus fluent ets/Stream absolve
 */

export function absolve_(self, __tsplusTrace) {
  return tsplus_module_2.mapEffect_(self, either => tsplus_module_1.fromEither(() => either, __tsplusTrace), __tsplusTrace);
}
/**
 * Submerges the error case of an `Either` into the `Stream`.
 *
 * @tsplus static ets/Stream/Aspects absolve
 */

export const absolve = __tsplusTrace => self => absolve_(self, __tsplusTrace);
//# sourceMappingURL=absolve.mjs.map