/** * Submerges the error case of an `Either` into the `STM`. The inverse * operation of `STM.either`. * * @tsplus static effect/core/stm/STM.Ops absolve * @tsplus getter effect/core/stm/STM absolve */ export function absolve( self: STM> ): STM { return self.flatMap((either) => either.fold(STM.fail, STM.succeed)) }