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. def absolve[R, A](v: RIO[R, Either[Throwable, A]]): RIO[R, A]

    Permalink

    See also

    See zio.ZIO.absolve

  5. def access[R]: AccessPartiallyApplied[R]

    Permalink

    See also

    See zio.ZIO.access

  6. def accessM[R]: AccessMPartiallyApplied[R]

    Permalink

    See also

    See zio.ZIO.accessM

  7. def adopt(fiber: Fiber[Any, Any]): UIO[Boolean]

    Permalink

    See also

    See zio.ZIO.adopt

  8. def allowInterrupt: UIO[Unit]

    Permalink

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

    Permalink

    See also

    See zio.ZIO.apply

  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. val awaitAllChildren: UIO[Unit]

    Permalink

  12. 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. def bracket[R, A](acquire: RIO[R, A]): BracketAcquire[R, Throwable, A]

    Permalink

    See also

    See bracket zio.ZIO

  14. 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. def bracketExit[R, A](acquire: RIO[R, A]): BracketExitAcquire[R, Throwable, A]

    Permalink

    See also

    See bracketExit zio.ZIO

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.checkTraced

  18. def children: UIO[Iterable[Fiber[Any, Any]]]

    Permalink

    See also

    See zio.ZIO.children

  19. def clone(): AnyRef

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

    Permalink

    See also

    See zio.ZIO.collectAll

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

  29. def descriptor: UIO[Descriptor]

    Permalink

    See also

    See zio.ZIO.descriptor

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

    Permalink

  31. def die(t: ⇒ Throwable): UIO[Nothing]

    Permalink

    See also

    See zio.ZIO.die

  32. def dieMessage(message: ⇒ String): UIO[Nothing]

    Permalink

    See also

    See zio.ZIO.dieMessage

  33. def disown(fiber: Fiber[Any, Any]): UIO[Boolean]

    Permalink

    See also

    See zio.ZIO.disown

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

    Permalink

    See also

    See zio.ZIO.done

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

    Permalink

    See also

    See zio.ZIO.effect

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

    Permalink

    See also

    See zio.ZIO.effectAsync

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

    Permalink

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

    Permalink

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

    Permalink

  40. 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. def effectSuspendTotal[R, A](rio: ⇒ RIO[R, A]): RIO[R, A]

    Permalink

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

    Permalink

  43. def effectSuspendWith[R, A](p: (Platform, Id) ⇒ 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. def effectTotal[A](effect: ⇒ A): UIO[A]

    Permalink

    See also

    See zio.ZIO.effectTotal

  45. 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. def fail(error: ⇒ Throwable): Task[Nothing]

    Permalink

    See also

    See zio.ZIO.fail

  49. val fiberId: UIO[Id]

    Permalink

  50. def filter[R, A](as: Iterable[A])(f: (A) ⇒ RIO[R, Boolean]): RIO[R, List[A]]

    Permalink

  51. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  52. def first[A, B]: RIO[(A, B), A]

    Permalink

    See also

    See zio.ZIO.first

  53. def firstSuccessOf[R, A](rio: RIO[R, A], rest: Iterable[RIO[R, A]]): RIO[R, A]

    Permalink

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

    Permalink

    See also

    See zio.ZIO.flatten

  55. 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

  56. def foldRight[R, S, A](in: Iterable[A])(zero: S)(f: (A, S) ⇒ RIO[R, S]): RIO[R, S]

    Permalink

    See also

    See zio.ZIO.foldRight

  57. final def foreach[R, A, B](in: Chunk[A])(f: (A) ⇒ RIO[R, B]): RIO[R, Chunk[B]]

    Permalink

  58. final def foreach[R, A, B](in: Option[A])(f: (A) ⇒ RIO[R, B]): RIO[R, Option[B]]

    Permalink

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

    Permalink

  60. final def foreachPar[R, A, B](as: Chunk[A])(fn: (A) ⇒ RIO[R, B]): RIO[R, Chunk[B]]

    Permalink

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

    Permalink

  62. 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

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.forkAll

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

    Permalink

    See also

    See zio.ZIO.forkAll_

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

    Permalink

    See also

    See zio.ZIO.fromEither

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

    Permalink

    See also

    See zio.ZIO.fromFiber

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

    Permalink

    See also

    See zio.ZIO.fromFiberM

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.fromFuture

  77. def fromFutureInterrupt[A](make: (ExecutionContext) ⇒ Future[A]): Task[A]

    Permalink

  78. def fromTry[A](value: ⇒ Try[A]): Task[A]

    Permalink

    See also

    See zio.ZIO.fromTry

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

    Permalink
    Definition Classes
    AnyRef → Any
  80. final def getOrFail[A](v: ⇒ Option[A]): Task[A]

    Permalink

    See also

    See zio.ZIO.getOrFail

  81. def halt(cause: ⇒ Cause[Throwable]): Task[Nothing]

    Permalink

    See also

    See zio.ZIO.halt

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

    Permalink

    See also

    See zio.ZIO.haltWith

  83. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  84. def identity[R]: RIO[R, R]

    Permalink

    See also

    See zio.ZIO.identity

  85. def ifM[R](b: RIO[R, Boolean]): IfM[R, Throwable]

    Permalink

    See also

    zio.ZIO.ifM

  86. val infinity: URIO[Clock, Nothing]

    Permalink

  87. val interrupt: UIO[Nothing]

    Permalink

    See also

    See zio.ZIO.interrupt

  88. def interruptAllChildren: UIO[Unit]

    Permalink

    See also

    See [zio.ZIO.interruptAllChildren]

  89. def interruptAs(fiberId: ⇒ Id): UIO[Nothing]

    Permalink

    See also

    See zio.ZIO.interruptAs

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

    Permalink

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

    Permalink

  92. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  93. def iterate[R, S](initial: S)(cont: (S) ⇒ Boolean)(body: (S) ⇒ RIO[R, S]): RIO[R, S]

    Permalink

    See also

    See zio.ZIO.iterate

  94. def left[R, A](a: ⇒ A): RIO[R, Either[A, Nothing]]

    Permalink

    See also

    See zio.ZIO.left

  95. def lock[R, A](executor: ⇒ Executor)(taskr: RIO[R, A]): RIO[R, A]

    Permalink

    See also

    See zio.ZIO.lock

  96. def loop[R, A, S](initial: S)(cont: (S) ⇒ Boolean, inc: (S) ⇒ S)(body: (S) ⇒ RIO[R, A]): RIO[R, List[A]]

    Permalink

    See also

    See zio.ZIO.loop

  97. def loop_[R, S](initial: S)(cont: (S) ⇒ Boolean, inc: (S) ⇒ S)(body: (S) ⇒ RIO[R, Any]): RIO[R, Unit]

    Permalink

    See also

    See zio.ZIO.loop_

  98. def mapN[R, A, B, C, D, F](rio1: RIO[R, A], rio2: RIO[R, B], rio3: RIO[R, C], rio4: RIO[R, D])(f: (A, B, C, D) ⇒ F): RIO[R, F]

    Permalink

  99. def mapN[R, A, B, C, D](rio1: RIO[R, A], rio2: RIO[R, B], rio3: RIO[R, C])(f: (A, B, C) ⇒ D): RIO[R, D]

    Permalink

  100. def mapN[R, A, B, C](rio1: RIO[R, A], rio2: RIO[R, B])(f: (A, B) ⇒ C): RIO[R, C]

    Permalink

  101. def mapParN[R, A, B, C, D, F](rio1: RIO[R, A], rio2: RIO[R, B], rio3: RIO[R, C], rio4: RIO[R, D])(f: (A, B, C, D) ⇒ F): RIO[R, F]

    Permalink

  102. def mapParN[R, A, B, C, D](rio1: RIO[R, A], rio2: RIO[R, B], rio3: RIO[R, C])(f: (A, B, C) ⇒ D): RIO[R, D]

    Permalink

  103. def mapParN[R, A, B, C](rio1: RIO[R, A], rio2: RIO[R, B])(f: (A, B) ⇒ C): RIO[R, C]

    Permalink

  104. 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

  105. 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

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

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

    Permalink

    See also

    See zio.ZIO.never

  108. val none: UIO[Option[Nothing]]

    Permalink

    See also

    See zio.ZIO.none

  109. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  111. def partition[R, A, B](in: Iterable[A])(f: (A) ⇒ RIO[R, B]): RIO[Nothing, (List[Throwable], List[B])]

    Permalink

    See also

    See zio.ZIO.partition

  112. def partitionPar[R, A, B](in: Iterable[A])(f: (A) ⇒ RIO[R, B]): RIO[Nothing, (List[Throwable], List[B])]

    Permalink

  113. def partitionParN[R, A, B](n: Int)(in: Iterable[A])(f: (A) ⇒ RIO[R, B]): RIO[Nothing, (List[Throwable], List[B])]

    Permalink

  114. def provide[R, A](r: ⇒ R): (RIO[R, A]) ⇒ Task[A]

    Permalink

    See also

    See zio.ZIO.provide

  115. 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

  116. 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

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.replicate

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

    Permalink

    See also

    See zio.ZIO.require

  120. 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

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

    Permalink

    See also

    zio.ZIO.right

  122. def runtime[R]: ZIO[R, Nothing, Runtime[R]]

    Permalink

    See also

    See zio.ZIO.runtime

  123. def second[A, B]: RIO[(A, B), B]

    Permalink

    See also

    See zio.ZIO.second

  124. def sleep(duration: ⇒ Duration): RIO[Clock, Unit]

    Permalink

    See also

    See zio.ZIO.sleep

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

    Permalink

    See also

    zio.ZIO.some

  126. def succeed[A](a: ⇒ A): UIO[A]

    Permalink

    See also

    See zio.ZIO.succeed

  127. def swap[A, B]: RIO[(A, B), (B, A)]

    Permalink

    See also

    See zio.ZIO.swap

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

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

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

    Permalink

    See also

    See zio.ZIO.trace

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

    Permalink

    See also

    See zio.ZIO.traced

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

    Permalink

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

    Permalink

  134. val unit: UIO[Unit]

    Permalink

    See also

    See zio.ZIO.unit

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

    Permalink

    See also

    See zio.ZIO.unsandbox

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

    Permalink

    See also

    See zio.ZIO.untraced

  137. final def wait(): Unit

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

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

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

    Permalink

    See also

    See zio.ZIO.when

  141. 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

  142. 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

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

    Permalink

    See also

    See zio.ZIO.whenM

  144. val yieldNow: UIO[Unit]

    Permalink

    See also

    See zio.ZIO.yieldNow

Inherited from AnyRef

Inherited from Any

Ungrouped