Packages

o

zio.stm

STM

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
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def absolve[E, A](e: STM[E, Either[E, A]]): STM[E, A]

    See also

    See zio.stm.ZSTM.absolve

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def atomically[E, A](stm: STM[E, A])(implicit trace: Trace): IO[E, A]

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

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

    See also

    See zio.stm.ZSTM.check

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

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

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

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

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

    See also

    See zio.stm.ZSTM.cond

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

    See also

    See zio.stm.ZSTM.die

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

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

    See also

    See zio.stm.ZSTM.done

  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  20. def exists[E, A](as: Iterable[A])(f: (A) ⇒ STM[E, Boolean]): STM[E, Boolean]

    See also

    See zio.stm.ZSTM.done

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

    See also

    See zio.stm.ZSTM.fail

  22. val fiberId: USTM[FiberId]

    See also

    See zio.stm.ZSTM.fiberId

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

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

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

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

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

    See also

    See zio.stm.ZSTM.flatten

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

    See also

    See zio.stm.ZSTM.foldLeft

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

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

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

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

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

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

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

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

    See also

    See zio.stm.ZSTM.fromTry

  38. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  39. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  40. def ifSTM[E](b: STM[E, Boolean]): IfSTM[Any, E]

    See also

    See zio.stm.ZSTM.ifSTM

  41. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  42. def iterate[E, S](initial: S)(cont: (S) ⇒ Boolean)(body: (S) ⇒ STM[E, S]): STM[E, S]

    See also

    See zio.stm.ZSTM.iterate

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

    See also

    See zio.stm.ZSTM.left

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

    See also

    See zio.stm.ZSTM.loop

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

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

    See also

    See zio.stm.ZSTM.mergeAll

  47. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  48. val none: USTM[Option[Nothing]]

    See also

    See zio.stm.ZSTM.none

  49. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  50. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  51. def onCommit(io: IO[Nothing, Any])(implicit trace: Trace): STM[Nothing, Unit]

    See also

    See zio.stm.ZSTM.onCommit

  52. def partition[E, A, B](in: Iterable[A])(f: (A) ⇒ STM[E, B])(implicit ev: CanFail[E]): STM[Nothing, (Iterable[E], Iterable[B])]

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

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

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

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

  57. val retry: USTM[Nothing]

    See also

    See zio.stm.ZSTM.retry

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

    See also

    See zio.stm.ZSTM.right

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

    See also

    See zio.stm.ZSTM.some

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

    See also

    See zio.stm.ZSTM.succeed

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

    See also

    See zio.stm.ZSTM.suspend

  62. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  63. def toString(): String
    Definition Classes
    AnyRef → Any
  64. val unit: USTM[Unit]

    See also

    See zio.stm.ZSTM.unit

  65. def unless[E, A](b: ⇒ Boolean)(stm: ⇒ STM[E, A]): STM[E, Option[A]]

    See also

    See zio.stm.ZSTM.unless

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

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

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

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

  70. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  71. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  72. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  73. def when[E, A](b: ⇒ Boolean)(stm: ⇒ STM[E, A]): STM[E, Option[A]]

    See also

    See zio.stm.ZSTM.when

  74. def whenCase[E, A, B](a: ⇒ A)(pf: PartialFunction[A, STM[E, B]]): STM[E, Option[B]]

    See also

    See zio.stm.ZSTM.whenCase

  75. def whenCaseSTM[E, A, B](a: STM[E, A])(pf: PartialFunction[A, STM[E, B]]): STM[E, Option[B]]

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

    See also

    See zio.stm.ZSTM.whenSTM

Inherited from AnyRef

Inherited from Any

Ungrouped