/** * Returns an `STM` effect that succeeds with `undefined`. * * @tsplus static effect/core/stm/STM.Ops unit */ export const unit_: USTM = STM.succeed(undefined) /** * Ignores the result of the transactional effect replacing it with `undefined`. * * @tsplus getter effect/core/stm/STM unit */ export function unit(self: STM): STM { return self.zipRight(STM.unit) }