final class STM[F[+_], +A] extends AnyRef
See zio.stm.ZSTM
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- STM
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
*>[B](that: ⇒ STM[F, B]): STM[F, B]
See zio.stm.ZSTM#*>
- def <*[B](that: ⇒ STM[F, B]): STM[F, A]
-
def
<*>[B](that: ⇒ STM[F, B])(implicit zippable: Zippable[A, B]): STM[F, Out]
See zio.stm.ZSTM#<*>
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def collect[B](pf: PartialFunction[A, B]): STM[F, B]
- def commit(implicit R: Runtime[Any], A: Async[F], trace: Trace): F[A]
- def const[B](b: ⇒ B): STM[F, B]
- def either: STM[F, Either[Throwable, A]]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def filter(f: (A) ⇒ Boolean): STM[F, A]
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def flatMap[B](f: (A) ⇒ STM[F, B]): STM[F, B]
- def flatten[B](implicit ev: <:<[A, STM[F, B]]): STM[F, B]
- def fold[B](f: (Throwable) ⇒ B, g: (A) ⇒ B): STM[F, B]
- def foldM[B](f: (Throwable) ⇒ STM[F, B], g: (A) ⇒ STM[F, B]): STM[F, B]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
map[B](f: (A) ⇒ B): STM[F, B]
See zio.stm.ZSTM#map
- def mapError[E1 <: Throwable](f: (Throwable) ⇒ E1): STM[F, A]
-
def
mapK[G[+_]]: STM[G, A]
Switch from effect F to effect G.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def option: STM[F, Option[A]]
- def orElse[A1 >: A](that: ⇒ STM[F, A1]): STM[F, A1]
- def orElseEither[B](that: ⇒ STM[F, B]): STM[F, Either[A, B]]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def unit: STM[F, Unit]
- def void: STM[F, Unit]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
withFilter(f: (A) ⇒ Boolean): STM[F, A]
Same as filter
-
def
zip[B](that: ⇒ STM[F, B])(implicit zippable: Zippable[A, B]): STM[F, Out]
See zio.stm.ZSTM#zip
- def zipLeft[B](that: ⇒ STM[F, B]): STM[F, A]
- def zipRight[B](that: ⇒ STM[F, B]): STM[F, B]
- def zipWith[B, C](that: ⇒ STM[F, B])(f: (A, B) ⇒ C): STM[F, C]