/** * Returns an effect that ignores errors and runs repeatedly until it eventually succeeds. * * @tsplus getter effect/core/stm/STM eventually */ export function eventually(self: STM): STM { return self.foldSTM(() => self.eventually, STM.succeed) }