Object

zio.stm

STM

Related Doc: package stm

Permalink

object STM

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. STM
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def absolve[E, A](e: STM[E, Either[E, A]]): STM[E, A]

    Permalink

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def atomically[E, A](stm: STM[E, A]): IO[E, A]

    Permalink

  7. def attempt[A](a: ⇒ A): STM[Throwable, A]

    Permalink

  8. def check(p: ⇒ Boolean): USTM[Unit]

    Permalink

    See also

    See zio.stm.ZSTM.check

  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def collectAll[E, A](in: Set[STM[E, A]]): STM[E, Set[A]]

    Permalink

  11. 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]]

    Permalink

  12. def collectAllDiscard[E, A](in: Iterable[STM[E, A]]): STM[E, Unit]

    Permalink

  13. def collectFirst[E, A, B](as: Iterable[A])(f: (A) ⇒ STM[E, Option[B]]): STM[E, Option[B]]

    Permalink

  14. def cond[E, A](predicate: Boolean, result: ⇒ A, error: ⇒ E): STM[E, A]

    Permalink

    See also

    See zio.stm.ZSTM.cond

  15. def die(t: ⇒ Throwable): USTM[Nothing]

    Permalink

    See also

    See zio.stm.ZSTM.die

  16. def dieMessage(m: ⇒ String): USTM[Nothing]

    Permalink

  17. def done[E, A](exit: ⇒ TExit[E, A]): STM[E, A]

    Permalink

    See also

    See zio.stm.ZSTM.done

  18. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  20. def exists[E, A](as: Iterable[A])(f: (A) ⇒ STM[E, Boolean]): STM[E, Boolean]

    Permalink

    See also

    See zio.stm.ZSTM.done

  21. def fail[E](e: ⇒ E): STM[E, Nothing]

    Permalink

    See also

    See zio.stm.ZSTM.fail

  22. val fiberId: USTM[Id]

    Permalink

  23. def filter[E, A](as: Set[A])(f: (A) ⇒ STM[E, Boolean]): STM[E, Set[A]]

    Permalink

  24. 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]]

    Permalink

  25. def filterNot[E, A](as: Set[A])(f: (A) ⇒ STM[E, Boolean]): STM[E, Set[A]]

    Permalink

  26. 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]]

    Permalink

  27. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  28. def flatten[E, A](task: STM[E, STM[E, A]]): STM[E, A]

    Permalink

  29. def foldLeft[E, S, A](in: Iterable[A])(zero: S)(f: (S, A) ⇒ STM[E, S]): STM[E, S]

    Permalink

  30. def foldRight[E, S, A](in: Iterable[A])(zero: S)(f: (A, S) ⇒ STM[E, S]): STM[E, S]

    Permalink

  31. def forall[R, E, A](as: Iterable[A])(f: (A) ⇒ ZSTM[R, E, Boolean]): ZSTM[R, E, Boolean]

    Permalink

    See also

    See zio.stm.ZSTM.forall

  32. def foreach[E, A, B](in: Set[A])(f: (A) ⇒ STM[E, B]): STM[E, Set[B]]

    Permalink

  33. 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]]

    Permalink

  34. def foreachDiscard[E, A](in: Iterable[A])(f: (A) ⇒ STM[E, Any]): STM[E, Unit]

    Permalink

  35. def fromEither[E, A](e: ⇒ Either[E, A]): STM[E, A]

    Permalink

  36. def fromFunction[A](f: (Any) ⇒ A): USTM[A]

    Permalink

  37. def fromFunctionSTM[E, A](f: (Any) ⇒ STM[E, A]): STM[E, A]

    Permalink

  38. def fromOption[A](v: ⇒ Option[A]): STM[Option[Nothing], A]

    Permalink

  39. def fromTry[A](a: ⇒ Try[A]): TaskSTM[A]

    Permalink

  40. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  41. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  42. def identity: USTM[Any]

    Permalink

  43. def ifSTM[E](b: STM[E, Boolean]): IfSTM[Any, E]

    Permalink

    See also

    See zio.stm.ZSTM.ifSTM

  44. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  45. def iterate[E, S](initial: S)(cont: (S) ⇒ Boolean)(body: (S) ⇒ STM[E, S]): STM[E, S]

    Permalink

  46. def left[A](a: ⇒ A): USTM[Either[A, Nothing]]

    Permalink

    See also

    See zio.stm.ZSTM.left

  47. def loop[E, A, S](initial: S)(cont: (S) ⇒ Boolean, inc: (S) ⇒ S)(body: (S) ⇒ STM[E, A]): STM[E, List[A]]

    Permalink

    See also

    See zio.stm.ZSTM.loop

  48. def loopDiscard[E, S](initial: S)(cont: (S) ⇒ Boolean, inc: (S) ⇒ S)(body: (S) ⇒ STM[E, Any]): STM[E, Unit]

    Permalink

  49. def mapN[E, A, B, C, D, F](tx1: STM[E, A], tx2: STM[E, B], tx3: STM[E, C], tx4: STM[E, D])(f: (A, B, C, D) ⇒ F): STM[E, F]

    Permalink

  50. def mapN[E, A, B, C, D](tx1: STM[E, A], tx2: STM[E, B], tx3: STM[E, C])(f: (A, B, C) ⇒ D): STM[E, D]

    Permalink

  51. def mapN[E, A, B, C](tx1: STM[E, A], tx2: STM[E, B])(f: (A, B) ⇒ C): STM[E, C]

    Permalink

  52. def mergeAll[E, A, B](in: Iterable[STM[E, A]])(zero: B)(f: (B, A) ⇒ B): STM[E, B]

    Permalink

  53. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  54. val none: USTM[Option[Nothing]]

    Permalink

    See also

    See zio.stm.ZSTM.none

  55. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  56. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  57. def partition[E, A, B](in: Iterable[A])(f: (A) ⇒ STM[E, B])(implicit ev: CanFail[E]): STM[Nothing, (Iterable[E], Iterable[B])]

    Permalink

  58. def reduceAll[E, A](a: STM[E, A], as: Iterable[STM[E, A]])(f: (A, A) ⇒ A): STM[E, A]

    Permalink

  59. def replicate[E, A](n: Int)(tx: STM[E, A]): Iterable[STM[E, A]]

    Permalink

  60. def replicateSTM[E, A](n: Int)(transaction: STM[E, A]): STM[E, Iterable[A]]

    Permalink

  61. def replicateSTMDiscard[E, A](n: Int)(transaction: STM[E, A]): STM[E, Unit]

    Permalink

  62. def require[E, A](error: ⇒ E): (STM[E, Option[A]]) ⇒ STM[E, A]

    Permalink

  63. val retry: USTM[Nothing]

    Permalink

    See also

    See zio.stm.ZSTM.retry

  64. def right[A](a: ⇒ A): USTM[Either[Nothing, A]]

    Permalink

    See also

    See zio.stm.ZSTM.right

  65. def some[A](a: ⇒ A): USTM[Option[A]]

    Permalink

    See also

    See zio.stm.ZSTM.some

  66. def succeed[A](a: ⇒ A): USTM[A]

    Permalink

  67. def suspend[E, A](stm: ⇒ STM[E, A]): STM[E, A]

    Permalink

  68. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  69. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  70. val unit: USTM[Unit]

    Permalink

    See also

    See zio.stm.ZSTM.unit

  71. def unless[E](b: ⇒ Boolean)(stm: ⇒ STM[E, Any]): STM[E, Unit]

    Permalink

    See also

    See zio.stm.ZSTM.unless

  72. def unlessSTM[E](b: STM[E, Boolean]): UnlessSTM[Any, E]

    Permalink

  73. def validate[E, A, B](in: NonEmptyChunk[A])(f: (A) ⇒ STM[E, B])(implicit ev: CanFail[E]): STM[::[E], NonEmptyChunk[B]]

    Permalink

  74. 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]]

    Permalink

  75. 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]

    Permalink

  76. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  77. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  78. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  79. def when[E](b: ⇒ Boolean)(stm: ⇒ STM[E, Any]): STM[E, Unit]

    Permalink

    See also

    See zio.stm.ZSTM.when

  80. def whenCase[E, A](a: ⇒ A)(pf: PartialFunction[A, STM[E, Any]]): STM[E, Unit]

    Permalink

  81. def whenCaseSTM[E, A](a: STM[E, A])(pf: PartialFunction[A, STM[E, Any]]): STM[E, Unit]

    Permalink

  82. def whenSTM[E](b: STM[E, Boolean]): WhenSTM[Any, E]

    Permalink

Deprecated Value Members

  1. def collectAll_[E, A](in: Iterable[STM[E, A]]): STM[E, Unit]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use collectAllDiscard

    See also

    See zio.stm.ZSTM.collectAll_

  2. def foreach_[E, A](in: Iterable[A])(f: (A) ⇒ STM[E, Any]): STM[E, Unit]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use foreachDiscard

    See also

    See zio.stm.ZSTM.foreach_

  3. def fromFunctionM[E, A](f: (Any) ⇒ STM[E, A]): STM[E, A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use fromFunctionSTM

    See also

    See zio.stm.ZSTM.fromFunctionM

  4. def ifM[E](b: STM[E, Boolean]): IfSTM[Any, E]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use ifSTM

    See also

    See zio.stm.ZSTM.ifM

  5. def loop_[E, S](initial: S)(cont: (S) ⇒ Boolean, inc: (S) ⇒ S)(body: (S) ⇒ STM[E, Any]): STM[E, Unit]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use loopDiscard

    See also

    See zio.stm.ZSTM.loop_

  6. def partial[A](a: ⇒ A): STM[Throwable, A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use attempt

    See also

    See zio.stm.ZSTM.partition

  7. def replicateM[E, A](n: Int)(transaction: STM[E, A]): STM[E, Iterable[A]]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use replicateSTM

    See also

    See zio.stm.ZSTM.replicateM

  8. def replicateM_[E, A](n: Int)(transaction: STM[E, A]): STM[E, Unit]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use replicateSTMDiscard

    See also

    See zio.stm.ZSTM.replicateM_

  9. def unlessM[E](b: STM[E, Boolean]): UnlessSTM[Any, E]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use unlessSTM

    See also

    See zio.stm.ZSTM.unlessM

  10. def whenCaseM[E, A](a: STM[E, A])(pf: PartialFunction[A, STM[E, Any]]): STM[E, Unit]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use whenCaseSTM

    See also

    See zio.stm.ZSTM.whenCaseM

  11. def whenM[E](b: STM[E, Boolean]): WhenSTM[Any, E]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use whenSTM

    See also

    See zio.stm.ZSTM.whenM

Inherited from AnyRef

Inherited from Any

Ungrouped