object STM
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- STM
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def absolve[E, A](e: STM[E, Either[E, A]]): STM[E, A]
- See also
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def atomically[E, A](stm: STM[E, A])(implicit trace: Trace): IO[E, A]
- See also
- def attempt[A](a: => A): STM[Throwable, A]
- See also
- def check(p: => Boolean): USTM[Unit]
- See also
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def collectAll[E, A](in: Set[STM[E, A]]): STM[E, Set[A]]
- See also
- def collectAll[E, A, Collection[+Element] <: Iterable[Element]](in: Collection[STM[E, A]])(implicit bf: zio.BuildFrom[Collection[STM[E, A]], A, Collection[A]]): STM[E, Collection[A]]
- def collectAllDiscard[E, A](in: Iterable[STM[E, A]]): STM[E, Unit]
- See also
- def collectFirst[E, A, B](as: Iterable[A])(f: (A) => STM[E, Option[B]]): STM[E, Option[B]]
- See also
- def cond[E, A](predicate: Boolean, result: => A, error: => E): STM[E, A]
- See also
- def die(t: => Throwable): USTM[Nothing]
- See also
See zio.stm.ZSTM.die
- def dieMessage(m: => String): USTM[Nothing]
- See also
- def done[E, A](exit: => TExit[E, A]): STM[E, A]
- See also
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def exists[E, A](as: Iterable[A])(f: (A) => STM[E, Boolean]): STM[E, Boolean]
- See also
- def fail[E](e: => E): STM[E, Nothing]
- See also
- val fiberId: USTM[FiberId]
- See also
- def filter[E, A](as: Set[A])(f: (A) => STM[E, Boolean]): STM[E, Set[A]]
- See also
- def filter[E, A, Collection[+Element] <: Iterable[Element]](as: Collection[A])(f: (A) => STM[E, Boolean])(implicit bf: zio.BuildFrom[Collection[A], A, Collection[A]]): STM[E, Collection[A]]
- def filterNot[E, A](as: Set[A])(f: (A) => STM[E, Boolean]): STM[E, Set[A]]
- def filterNot[E, A, Collection[+Element] <: Iterable[Element]](as: Collection[A])(f: (A) => STM[E, Boolean])(implicit bf: zio.BuildFrom[Collection[A], A, Collection[A]]): STM[E, Collection[A]]
- def flatten[E, A](task: STM[E, STM[E, A]]): STM[E, A]
- See also
- def foldLeft[E, S, A](in: Iterable[A])(zero: S)(f: (S, A) => STM[E, S]): STM[E, S]
- See also
- def foldRight[E, S, A](in: Iterable[A])(zero: S)(f: (A, S) => STM[E, S]): STM[E, S]
- See also
- def forall[R, E, A](as: Iterable[A])(f: (A) => ZSTM[R, E, Boolean]): ZSTM[R, E, Boolean]
- See also
- def foreach[E, A, B](in: Set[A])(f: (A) => STM[E, B]): STM[E, Set[B]]
- See also
- def foreach[E, A, B, Collection[+Element] <: Iterable[Element]](in: Collection[A])(f: (A) => STM[E, B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]]): STM[E, Collection[B]]
- def foreachDiscard[E, A](in: Iterable[A])(f: (A) => STM[E, Any]): STM[E, Unit]
- See also
- def fromEither[E, A](e: => Either[E, A]): STM[E, A]
- See also
- def fromOption[A](v: => Option[A]): STM[Option[Nothing], A]
- See also
- def fromTry[A](a: => Try[A]): TaskSTM[A]
- See also
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def ifSTM[E](b: STM[E, Boolean]): IfSTM[Any, E]
- See also
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def iterate[E, S](initial: S)(cont: (S) => Boolean)(body: (S) => STM[E, S]): STM[E, S]
- See also
- def left[A](a: => A): USTM[Either[A, Nothing]]
- See also
- def loop[E, A, S](initial: S)(cont: (S) => Boolean, inc: (S) => S)(body: (S) => STM[E, A]): STM[E, List[A]]
- See also
- def loopDiscard[E, S](initial: S)(cont: (S) => Boolean, inc: (S) => S)(body: (S) => STM[E, Any]): STM[E, Unit]
- See also
- def mergeAll[E, A, B](in: Iterable[STM[E, A]])(zero: B)(f: (B, A) => B): STM[E, B]
- See also
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val none: USTM[Option[Nothing]]
- See also
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def onCommit(io: IO[Nothing, Any])(implicit trace: Trace): STM[Nothing, Unit]
- See also
- def partition[E, A, B](in: Iterable[A])(f: (A) => STM[E, B])(implicit ev: CanFail[E]): STM[Nothing, (Iterable[E], Iterable[B])]
- See also
- def reduceAll[E, A](a: STM[E, A], as: Iterable[STM[E, A]])(f: (A, A) => A): STM[E, A]
- See also
- def replicate[E, A](n: Int)(tx: STM[E, A]): Iterable[STM[E, A]]
- See also
- def replicateSTM[E, A](n: Int)(transaction: STM[E, A]): STM[E, Iterable[A]]
- See also
- def replicateSTMDiscard[E, A](n: Int)(transaction: STM[E, A]): STM[E, Unit]
- See also
- val retry: USTM[Nothing]
- See also
- def right[A](a: => A): USTM[Either[Nothing, A]]
- See also
- def some[A](a: => A): USTM[Option[A]]
- See also
- def succeed[A](a: => A): USTM[A]
- See also
- def suspend[E, A](stm: => STM[E, A]): STM[E, A]
- See also
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- val unit: USTM[Unit]
- See also
- def unless[E, A](b: => Boolean)(stm: => STM[E, A]): STM[E, Option[A]]
- See also
- def unlessSTM[E](b: STM[E, Boolean]): UnlessSTM[Any, E]
- See also
- def validate[E, A, B](in: NonEmptyChunk[A])(f: (A) => STM[E, B])(implicit ev: CanFail[E]): STM[::[E], NonEmptyChunk[B]]
- def validate[E, A, B, Collection[+Element] <: Iterable[Element]](in: Collection[A])(f: (A) => STM[E, B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]], ev: CanFail[E]): STM[::[E], Collection[B]]
- def validateFirst[E, A, B, Collection[+Element] <: Iterable[Element]](in: Collection[A])(f: (A) => STM[E, B])(implicit bf: zio.BuildFrom[Collection[A], E, Collection[E]], ev: CanFail[E]): STM[Collection[E], B]
- See also
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def when[E, A](b: => Boolean)(stm: => STM[E, A]): STM[E, Option[A]]
- See also
- def whenCase[E, A, B](a: => A)(pf: PartialFunction[A, STM[E, B]]): STM[E, Option[B]]
- See also
- def whenCaseSTM[E, A, B](a: STM[E, A])(pf: PartialFunction[A, STM[E, B]]): STM[E, Option[B]]
- See also
- def whenSTM[E](b: STM[E, Boolean]): WhenSTM[Any, E]
- See also