STM

zio.interop.stm.STM$
See theSTM companion class
object STM

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
STM.type

Members list

Concise view

Value members

Concrete methods

final def atomically[F[_], A](stm: STM[F, A])(implicit R: Runtime[Any], A: Async[F]): F[A]
final def check[F[_]](p: Boolean): STM[F, Unit]
final def collectAll[F[_], A](i: Iterable[STM[F, A]]): STM[F, List[A]]
final def die[F[_]](t: Throwable): STM[F, Nothing]
final def dieMessage[F[_]](m: String): STM[F, Nothing]
final def fail[F[_]](e: Throwable): STM[F, Nothing]
final def foreach[F[_], A, B](as: Iterable[A])(f: A => STM[F, B]): STM[F, List[B]]
final def fromEither[F[_], A](e: Either[Throwable, A]): STM[F, A]
final def fromTry[F[_], A](a: => Try[A]): STM[F, A]
final def partial[F[_], A](a: => A): STM[F, A]
final def retry[F[_]]: STM[F, Nothing]
final def succeed[F[_], A](a: => A): STM[F, A]
final def unit[F[_]]: STM[F, Unit]

Deprecated methods

final def succeedLazy[F[_], A](a: => A): STM[F, A]

Attributes

Deprecated
true