Object

zio

RIO

Related Doc: package zio

Permalink

object RIO

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RIO
  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. final def _1[R, A, B](implicit ev: <:<[R, (A, B)]): RIO[R, A]

    Permalink

    See also

    See zio.ZIO._1

  5. final def _2[R, A, B](implicit ev: <:<[R, (A, B)]): RIO[R, B]

    Permalink

    See also

    See zio.ZIO._2

  6. final def absolve[R, A](v: RIO[R, Either[Throwable, A]]): RIO[R, A]

    Permalink

    See also

    See zio.ZIO.absolve

  7. final def access[R]: AccessPartiallyApplied[R]

    Permalink

    See also

    See zio.ZIO.access

  8. final def accessM[R]: AccessMPartiallyApplied[R]

    Permalink

    See also

    See zio.ZIO.accessM

  9. final def allowInterrupt: UIO[Unit]

    Permalink

  10. final def apply[A](a: ⇒ A): Task[A]

    Permalink

    See also

    See zio.ZIO.apply

  11. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  12. final def bracket[R, A, B](acquire: RIO[R, A], release: (A) ⇒ ZIO[R, Nothing, Any], use: (A) ⇒ RIO[R, B]): RIO[R, B]

    Permalink

    See also

    See bracket zio.ZIO

  13. final def bracket[R, A](acquire: RIO[R, A]): BracketAcquire[R, Throwable, A]

    Permalink

    See also

    See bracket zio.ZIO

  14. final def bracketExit[R, A, B](acquire: RIO[R, A], release: (A, Exit[Throwable, B]) ⇒ ZIO[R, Nothing, Any], use: (A) ⇒ RIO[R, B]): RIO[R, B]

    Permalink

    See also

    See bracketExit zio.ZIO

  15. final def bracketExit[R, A](acquire: RIO[R, A]): BracketExitAcquire[R, Throwable, A]

    Permalink

    See also

    See bracketExit zio.ZIO

  16. final def checkDaemon[R, A](f: (DaemonStatus) ⇒ RIO[R, A]): RIO[R, A]

    Permalink

    See also

    See zio.ZIO.checkDaemon

  17. final def checkInterruptible[R, A](f: (InterruptStatus) ⇒ RIO[R, A]): RIO[R, A]

    Permalink

  18. final def checkTraced[R, A](f: (TracingStatus) ⇒ RIO[R, A]): RIO[R, A]

    Permalink

    See also

    See zio.ZIO.checkTraced

  19. final def children: UIO[Iterable[Fiber[Any, Any]]]

    Permalink

    See also

    See zio.ZIO.children

  20. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def collectAll[R, A](in: Iterable[RIO[R, A]]): RIO[R, List[A]]

    Permalink

    See also

    See zio.ZIO.collectAll

  22. final def collectAllPar[R, A](as: Iterable[RIO[R, A]]): RIO[R, List[A]]

    Permalink

  23. final def collectAllParN[R, A](n: Int)(as: Iterable[RIO[R, A]]): RIO[R, List[A]]

    Permalink

  24. final def collectAllSuccesses[R, A](in: Iterable[RIO[R, A]]): RIO[R, List[A]]

    Permalink

  25. final def collectAllSuccessesPar[R, A](as: Iterable[RIO[R, A]]): RIO[R, List[A]]

    Permalink

  26. final def collectAllSuccessesParN[E, A](n: Int)(as: Iterable[RIO[E, A]]): RIO[E, List[A]]

    Permalink

  27. final def collectAllWith[R, A, B](in: Iterable[RIO[R, A]])(f: PartialFunction[A, B]): RIO[R, List[B]]

    Permalink

  28. final def collectAllWithPar[R, A, B](as: Iterable[RIO[R, A]])(f: PartialFunction[A, B]): RIO[R, List[B]]

    Permalink

  29. final def collectAllWithParN[R, A, B](n: Int)(as: Iterable[RIO[R, A]])(f: PartialFunction[A, B]): RIO[R, List[B]]

    Permalink

  30. final def descriptor: UIO[Descriptor]

    Permalink

    See also

    See zio.ZIO.descriptor

  31. final def descriptorWith[R, A](f: (Descriptor) ⇒ RIO[R, A]): RIO[R, A]

    Permalink

  32. final def die(t: Throwable): UIO[Nothing]

    Permalink

    See also

    See zio.ZIO.die

  33. final def dieMessage(message: String): UIO[Nothing]

    Permalink

    See also

    See zio.ZIO.dieMessage

  34. final def done[A](r: Exit[Throwable, A]): Task[A]

    Permalink

    See also

    See zio.ZIO.done

  35. final def effect[A](effect: ⇒ A): Task[A]

    Permalink

    See also

    See zio.ZIO.effect

  36. final def effectAsync[R, A](register: ((RIO[R, A]) ⇒ Unit) ⇒ Unit, blockingOn: List[Id] = Nil): RIO[R, A]

    Permalink

    See also

    See zio.ZIO.effectAsync

  37. final def effectAsyncInterrupt[R, A](register: ((RIO[R, A]) ⇒ Unit) ⇒ Either[Canceler[R], RIO[R, A]], blockingOn: List[Id] = Nil): RIO[R, A]

    Permalink

  38. final def effectAsyncM[R, A](register: ((RIO[R, A]) ⇒ Unit) ⇒ RIO[R, Any]): RIO[R, A]

    Permalink

  39. final def effectAsyncMaybe[R, A](register: ((RIO[R, A]) ⇒ Unit) ⇒ Option[RIO[R, A]], blockingOn: List[Id] = Nil): RIO[R, A]

    Permalink

  40. final def effectSuspend[R, A](rio: ⇒ RIO[R, A]): RIO[R, A]

    Permalink

    Returns a lazily constructed effect, whose construction may itself require effects.

    Returns a lazily constructed effect, whose construction may itself require effects. When no environment is required (i.e., when R == Any) it is conceptually equivalent to flatten(effect(io)).

  41. final def effectSuspendTotal[R, A](rio: ⇒ RIO[R, A]): RIO[R, A]

    Permalink

  42. final def effectSuspendTotalWith[R, A](p: (Platform) ⇒ RIO[R, A]): RIO[R, A]

    Permalink

  43. final def effectSuspendWith[R, A](p: (Platform) ⇒ RIO[R, A]): RIO[R, A]

    Permalink

    Returns a lazily constructed effect, whose construction may itself require effects.

    Returns a lazily constructed effect, whose construction may itself require effects. When no environment is required (i.e., when R == Any) it is conceptually equivalent to flatten(effect(io)).

  44. final def effectTotal[A](effect: ⇒ A): UIO[A]

    Permalink

    See also

    See zio.ZIO.effectTotal

  45. final def environment[R]: ZIO[R, Nothing, R]

    Permalink

    See also

    See zio.ZIO.environment

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  48. final def fail(error: Throwable): Task[Nothing]

    Permalink

    See also

    See zio.ZIO.fail

  49. final val fiberId: UIO[Id]

    Permalink

  50. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  51. final def firstSuccessOf[R, A](rio: RIO[R, A], rest: Iterable[RIO[R, A]]): RIO[R, A]

    Permalink

  52. final def flatten[R, A](taskr: RIO[R, RIO[R, A]]): RIO[R, A]

    Permalink

    See also

    See zio.ZIO.flatten

  53. final def foldLeft[R, S, A](in: Iterable[A])(zero: S)(f: (S, A) ⇒ RIO[R, S]): RIO[R, S]

    Permalink

    See also

    See zio.ZIO.foldLeft

  54. final def foreach[R, A, B](in: Iterable[A])(f: (A) ⇒ RIO[R, B]): RIO[R, List[B]]

    Permalink

    See also

    See zio.ZIO.foreach

  55. final def foreachPar[R, A, B](as: Iterable[A])(fn: (A) ⇒ RIO[R, B]): RIO[R, List[B]]

    Permalink

    See also

    See zio.ZIO.foreachPar

  56. final def foreachParN[R, A, B](n: Int)(as: Iterable[A])(fn: (A) ⇒ RIO[R, B]): RIO[R, List[B]]

    Permalink

    See also

    See zio.ZIO.foreachParN

  57. final def foreachParN_[R, A, B](n: Int)(as: Iterable[A])(f: (A) ⇒ RIO[R, Any]): RIO[R, Unit]

    Permalink

  58. final def foreachPar_[R, A, B](as: Iterable[A])(f: (A) ⇒ RIO[R, Any]): RIO[R, Unit]

    Permalink

    See also

    See zio.ZIO.foreachPar_

  59. final def foreach_[R, A](as: Iterable[A])(f: (A) ⇒ RIO[R, Any]): RIO[R, Unit]

    Permalink

    See also

    See zio.ZIO.foreach_

  60. final def forkAll[R, A](as: Iterable[RIO[R, A]]): ZIO[R, Nothing, Fiber[Throwable, List[A]]]

    Permalink

    See also

    See zio.ZIO.forkAll

  61. final def forkAll_[R, A](as: Iterable[RIO[R, A]]): ZIO[R, Nothing, Unit]

    Permalink

    See also

    See zio.ZIO.forkAll_

  62. final def fromEither[A](v: ⇒ Either[Throwable, A]): Task[A]

    Permalink

    See also

    See zio.ZIO.fromEither

  63. final def fromFiber[A](fiber: ⇒ Fiber[Throwable, A]): Task[A]

    Permalink

    See also

    See zio.ZIO.fromFiber

  64. final def fromFiberM[A](fiber: Task[Fiber[Throwable, A]]): Task[A]

    Permalink

    See also

    See zio.ZIO.fromFiberM

  65. final def fromFunction[R, A](f: (R) ⇒ A): URIO[R, A]

    Permalink

  66. final def fromFunctionFuture[R, A](f: (R) ⇒ Future[A]): RIO[R, A]

    Permalink

  67. final def fromFunctionM[R, A](f: (R) ⇒ Task[A]): RIO[R, A]

    Permalink

  68. final def fromFuture[A](make: (ExecutionContext) ⇒ Future[A]): Task[A]

    Permalink

    See also

    See zio.ZIO.fromFuture

  69. final def fromOption[A](v: ⇒ Option[A]): IO[Unit, A]

    Permalink
  70. final def fromTry[A](value: ⇒ Try[A]): Task[A]

    Permalink

    See also

    See zio.ZIO.fromTry

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

    Permalink
    Definition Classes
    AnyRef → Any
  72. final def halt(cause: Cause[Throwable]): Task[Nothing]

    Permalink

    See also

    See zio.ZIO.halt

  73. final def haltWith[R](function: (() ⇒ ZTrace) ⇒ Cause[Throwable]): RIO[R, Nothing]

    Permalink

    See also

    See zio.ZIO.haltWith

  74. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  75. final def identity[R]: RIO[Nothing, R]

    Permalink

    See also

    See zio.ZIO.identity

  76. final val interrupt: UIO[Nothing]

    Permalink

    See also

    See zio.ZIO.interrupt

  77. final def interruptAs(fiberId: Id): UIO[Nothing]

    Permalink

    See also

    See zio.ZIO.interruptAs

  78. final def interruptible[R, A](taskr: RIO[R, A]): RIO[R, A]

    Permalink

  79. final def interruptibleMask[R, A](k: (InterruptStatusRestore) ⇒ RIO[R, A]): RIO[R, A]

    Permalink

  80. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  81. final def left[R, A](a: A): RIO[R, Either[A, Nothing]]

    Permalink

    See also

    See zio.ZIO.left

  82. final def lock[R, A](executor: Executor)(taskr: RIO[R, A]): RIO[R, A]

    Permalink

    See also

    See zio.ZIO.lock

  83. final def mergeAll[R, A, B](in: Iterable[RIO[R, A]])(zero: B)(f: (B, A) ⇒ B): RIO[R, B]

    Permalink

    See also

    See zio.ZIO.mergeAll

  84. final def mergeAllPar[R, A, B](in: Iterable[RIO[R, A]])(zero: B)(f: (B, A) ⇒ B): RIO[R, B]

    Permalink

    See also

    See zio.ZIO.mergeAllPar

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

    Permalink
    Definition Classes
    AnyRef
  86. final val never: UIO[Nothing]

    Permalink

    See also

    See zio.ZIO.never

  87. final val none: UIO[Option[Nothing]]

    Permalink

    See also

    See zio.ZIO.none

  88. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  90. final def provide[R, A](r: R): (RIO[R, A]) ⇒ Task[A]

    Permalink

    See also

    See zio.ZIO.provide

  91. final def raceAll[R, R1 <: R, A](taskr: RIO[R, A], taskrs: Iterable[RIO[R1, A]]): RIO[R1, A]

    Permalink

    See also

    See zio.ZIO.raceAll

  92. final def reduceAll[R, R1 <: R, A](a: RIO[R, A], as: Iterable[RIO[R1, A]])(f: (A, A) ⇒ A): RIO[R1, A]

    Permalink

    See also

    See zio.ZIO.reduceAll

  93. final def reduceAllPar[R, R1 <: R, A](a: RIO[R, A], as: Iterable[RIO[R1, A]])(f: (A, A) ⇒ A): RIO[R1, A]

    Permalink

  94. def replicate[R, A](n: Int)(effect: RIO[R, A]): Iterable[RIO[R, A]]

    Permalink

    See also

    See zio.ZIO.replicate

  95. final def require[A](error: Throwable): (IO[Throwable, Option[A]]) ⇒ IO[Throwable, A]

    Permalink

    See also

    See zio.ZIO.require

  96. final def reserve[R, A, B](reservation: RIO[R, Reservation[R, Throwable, A]])(use: (A) ⇒ RIO[R, B]): RIO[R, B]

    Permalink

    See also

    See zio.ZIO.reserve

  97. def right[R, B](b: B): RIO[R, Either[Nothing, B]]

    Permalink

    See also

    zio.ZIO.right

  98. final def runtime[R]: ZIO[R, Nothing, Runtime[R]]

    Permalink

    See also

    See zio.ZIO.runtime

  99. final def sequence[R, A](in: Iterable[RIO[R, A]]): RIO[R, List[A]]

    Permalink

    See zio.ZIO.sequence

  100. final def sequencePar[R, A](as: Iterable[RIO[R, A]]): RIO[R, List[A]]

    Permalink

    See zio.ZIO.sequencePar

  101. final def sequenceParN[R, A](n: Int)(as: Iterable[RIO[R, A]]): RIO[R, List[A]]

    Permalink

    See zio.ZIO.sequenceParN

  102. final def sleep(duration: Duration): RIO[Clock, Unit]

    Permalink

    See also

    See zio.ZIO.sleep

  103. def some[R, A](a: A): RIO[R, Option[A]]

    Permalink

    See also

    zio.ZIO.some

  104. final def succeed[A](a: A): UIO[A]

    Permalink

    See also

    See zio.ZIO.succeed

  105. final def swap[R, A, B](implicit ev: <:<[R, (A, B)]): RIO[R, (B, A)]

    Permalink

    See also

    See zio.ZIO.swap

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  108. final def trace: UIO[ZTrace]

    Permalink

    See also

    See zio.ZIO.trace

  109. final def traced[R, A](zio: RIO[R, A]): RIO[R, A]

    Permalink

    See also

    See zio.ZIO.traced

  110. final def traverse[R, A, B](in: Iterable[A])(f: (A) ⇒ RIO[R, B]): RIO[R, List[B]]

    Permalink

    See also

    See zio.ZIO.traverse

  111. final def traversePar[R, A, B](as: Iterable[A])(fn: (A) ⇒ RIO[R, B]): RIO[R, List[B]]

    Permalink

    See also

    See zio.ZIO.traversePar

  112. final def traverseParN[R, A, B](n: Int)(as: Iterable[A])(fn: (A) ⇒ RIO[R, B]): RIO[R, List[B]]

    Permalink

    Alias for ZIO.foreachParN

  113. final def traverseParN_[R, A](n: Int)(as: Iterable[A])(f: (A) ⇒ RIO[R, Any]): RIO[R, Unit]

    Permalink

  114. final def traversePar_[R, A](as: Iterable[A])(f: (A) ⇒ RIO[R, Any]): RIO[R, Unit]

    Permalink

  115. final def traverse_[R, A](as: Iterable[A])(f: (A) ⇒ RIO[R, Any]): RIO[R, Unit]

    Permalink

    See also

    See zio.ZIO.traverse_

  116. final def uninterruptible[R, A](taskr: RIO[R, A]): RIO[R, A]

    Permalink

  117. final def uninterruptibleMask[R, A](k: (InterruptStatusRestore) ⇒ RIO[R, A]): RIO[R, A]

    Permalink

  118. final val unit: UIO[Unit]

    Permalink

    See also

    See zio.ZIO.unit

  119. final def unsandbox[R, A](v: IO[Cause[Throwable], A]): RIO[R, A]

    Permalink

    See also

    See zio.ZIO.unsandbox

  120. final def untraced[R, A](zio: RIO[R, A]): RIO[R, A]

    Permalink

    See also

    See zio.ZIO.untraced

  121. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  124. final def when[R](b: Boolean)(rio: RIO[R, Any]): RIO[R, Unit]

    Permalink

    See also

    See zio.ZIO.when

  125. final def whenCase[R, E, A](a: A)(pf: PartialFunction[A, ZIO[R, E, Any]]): ZIO[R, E, Unit]

    Permalink

    See also

    See zio.ZIO.whenCase

  126. final def whenCaseM[R, E, A](a: ZIO[R, E, A])(pf: PartialFunction[A, ZIO[R, E, Any]]): ZIO[R, E, Unit]

    Permalink

    See also

    See zio.ZIO.whenCaseM

  127. final def whenM[R](b: RIO[R, Boolean])(rio: RIO[R, Any]): RIO[R, Unit]

    Permalink

    See also

    See zio.ZIO.whenM

  128. final val yieldNow: UIO[Unit]

    Permalink

    See also

    See zio.ZIO.yieldNow

Deprecated Value Members

  1. final def succeedLazy[A](a: ⇒ A): UIO[A]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use effectTotal

  2. final def suspend[R, A](rio: ⇒ RIO[R, A]): RIO[R, A]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use effectSuspendTotal

  3. final def suspendWith[R, A](p: (Platform) ⇒ RIO[R, A]): RIO[R, A]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use effectSuspendTotalWith

Inherited from AnyRef

Inherited from Any

Ungrouped