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 allowInterrupt: UIO[Unit]

    Permalink

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

    Permalink

    See also

    See zio.ZIO.apply

  9. final def asInstanceOf[T0]: T0

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

    Permalink

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

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

    Permalink

    See also

    See bracket zio.ZIO

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

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

    Permalink

    See also

    See bracketExit zio.ZIO

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.checkTraced

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

    Permalink

    See also

    See zio.ZIO.children

  18. def clone(): AnyRef

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

    Permalink

    See also

    See zio.ZIO.collectAll

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

  28. def descriptor: UIO[Descriptor]

    Permalink

    See also

    See zio.ZIO.descriptor

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.die

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

    Permalink

    See also

    See zio.ZIO.dieMessage

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

    Permalink

    See also

    See zio.ZIO.disown

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

    Permalink

    See also

    See zio.ZIO.done

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

    Permalink

    See also

    See zio.ZIO.effect

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

    Permalink

    See also

    See zio.ZIO.effectAsync

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

    Permalink

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

    Permalink

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

    Permalink

  39. 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)).

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

    Permalink

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

    Permalink

  42. 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)).

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

    Permalink

    See also

    See zio.ZIO.effectTotal

  44. def environment[R]: ZIO[R, Nothing, R]

    Permalink

    See also

    See zio.ZIO.environment

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

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

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

    Permalink

    See also

    See zio.ZIO.fail

  48. val fiberId: UIO[Id]

    Permalink

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

    Permalink

  50. def finalize(): Unit

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

    Permalink

    See also

    See zio.ZIO.first

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.flatten

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

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

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.forkAll

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

    Permalink

    See also

    See zio.ZIO.forkAll_

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

    Permalink

    See also

    See zio.ZIO.fromEither

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

    Permalink

    See also

    See zio.ZIO.fromFiber

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

    Permalink

    See also

    See zio.ZIO.fromFiberM

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.fromFuture

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.fromTry

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

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

    Permalink

    See also

    See zio.ZIO.getOrFail

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

    Permalink

    See also

    See zio.ZIO.halt

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

    Permalink

    See also

    See zio.ZIO.haltWith

  82. def hashCode(): Int

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

    Permalink

    See also

    See zio.ZIO.identity

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

    Permalink

    See also

    zio.ZIO.ifM

  85. val infinity: URIO[Clock, Nothing]

    Permalink

  86. val interrupt: UIO[Nothing]

    Permalink

    See also

    See zio.ZIO.interrupt

  87. def interruptAllChildren: UIO[Unit]

    Permalink

    See also

    See [zio.ZIO.interruptAllChildren]

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

    Permalink

    See also

    See zio.ZIO.interruptAs

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

    Permalink

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

    Permalink

  91. final def isInstanceOf[T0]: Boolean

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

    Permalink

    See also

    See zio.ZIO.iterate

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

    Permalink

    See also

    See zio.ZIO.left

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

    Permalink

    See also

    See zio.ZIO.lock

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

  96. 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_

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

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

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

    Permalink

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

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

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

    Permalink

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

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

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

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

    Permalink

    See also

    See zio.ZIO.never

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

    Permalink

    See also

    See zio.ZIO.none

  108. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  110. 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

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

    Permalink

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.provide

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

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

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.replicate

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

    Permalink

    See also

    See zio.ZIO.require

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

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

    Permalink

    See also

    zio.ZIO.right

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

    Permalink

    See also

    See zio.ZIO.runtime

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

    Permalink

    See also

    See zio.ZIO.second

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

    Permalink

    See also

    See zio.ZIO.sleep

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

    Permalink

    See also

    zio.ZIO.some

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

    Permalink

    See also

    See zio.ZIO.succeed

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

    Permalink

    See also

    See zio.ZIO.swap

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

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

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

    Permalink

    See also

    See zio.ZIO.trace

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

    Permalink

    See also

    See zio.ZIO.traced

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

    Permalink

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

    Permalink

  133. val unit: UIO[Unit]

    Permalink

    See also

    See zio.ZIO.unit

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

    Permalink

    See also

    See zio.ZIO.unsandbox

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

    Permalink

    See also

    See zio.ZIO.untraced

  136. final def wait(): Unit

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

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

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

    Permalink

    See also

    See zio.ZIO.when

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

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

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

    Permalink

    See also

    See zio.ZIO.whenM

  143. val yieldNow: UIO[Unit]

    Permalink

    See also

    See zio.ZIO.yieldNow

Deprecated Value Members

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

    Permalink

    See zio.ZIO.sequence

    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use collectAll

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

    Permalink

    See zio.ZIO.sequencePar

    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use collectAllPar

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

    Permalink

    See zio.ZIO.sequenceParN

    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use collectAllParN

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use foreach

    See also

    See zio.ZIO.traverse

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use foreachPar

    See also

    See zio.ZIO.traversePar

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

    Permalink

    Alias for ZIO.foreachParN

    Alias for ZIO.foreachParN

    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use foreachParN

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use foreachParN_

    See also

    See zio.ZIO.traverseParN_

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use foreachPar_

    See also

    See zio.ZIO.traversePar_

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use foreach_

    See also

    See zio.ZIO.traverse_

Inherited from AnyRef

Inherited from Any

Ungrouped