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 accessZIO[R]: AccessZIOPartiallyApplied[R]

    Permalink

    See also

    See zio.ZIO.accessZIO

  7. def acquireReleaseExitWith[R, A, B](acquire: ⇒ RIO[R, A], release: (A, Exit[Throwable, B]) ⇒ URIO[R, Any], use: (A) ⇒ RIO[R, B]): RIO[R, B]

    Permalink

    See also

    See acquireReleaseExitWith zio.ZIO

  8. def acquireReleaseExitWith[R, A](acquire: ⇒ RIO[R, A]): BracketExitAcquire[R, Throwable, A]

    Permalink

    See also

    See acquireReleaseExitWith zio.ZIO

  9. def acquireReleaseWith[R, A, B](acquire: ⇒ RIO[R, A], release: (A) ⇒ URIO[R, Any], use: (A) ⇒ RIO[R, B]): RIO[R, B]

    Permalink

    See also

    See acquireReleaseWith zio.ZIO

  10. def acquireReleaseWith[R, A](acquire: ⇒ RIO[R, A]): BracketAcquire[R, Throwable, A]

    Permalink

    See also

    See acquireReleaseWith zio.ZIO

  11. def allowInterrupt: UIO[Unit]

    Permalink

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

    Permalink

    See also

    See zio.ZIO.apply

  13. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  14. def async[R, A](register: ((RIO[R, A]) ⇒ Unit) ⇒ Any, blockingOn: ⇒ FiberId = FiberId.None): RIO[R, A]

    Permalink

    See also

    See zio.ZIO.async

  15. def asyncInterrupt[R, A](register: ((RIO[R, A]) ⇒ Unit) ⇒ Either[Canceler[R], RIO[R, A]], blockingOn: ⇒ FiberId = FiberId.None): RIO[R, A]

    Permalink

  16. def asyncMaybe[R, A](register: ((RIO[R, A]) ⇒ Unit) ⇒ Option[RIO[R, A]], blockingOn: ⇒ FiberId = FiberId.None): RIO[R, A]

    Permalink

    See also

    See zio.ZIO.asyncMaybe

  17. def asyncZIO[R, A](register: ((RIO[R, A]) ⇒ Unit) ⇒ RIO[R, Any]): RIO[R, A]

    Permalink

    See also

    See zio.ZIO.asyncZIO

  18. def attempt[A](effect: ⇒ A): Task[A]

    Permalink

    See also

    See zio.ZIO.attempt

  19. def attemptBlocking[A](effect: ⇒ A): Task[A]

    Permalink

  20. def attemptBlockingCancelable[A](effect: ⇒ A)(cancel: ⇒ UIO[Any]): Task[A]

    Permalink

  21. def attemptBlockingInterrupt[A](effect: ⇒ A): Task[A]

    Permalink

  22. def blocking[R, A](zio: ⇒ RIO[R, A]): RIO[R, A]

    Permalink

    See also

    See zio.ZIO.blocking

  23. def blockingExecutor: UIO[Executor]

    Permalink

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.checkTraced

  26. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. def collect[R, Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) ⇒ ZIO[R, Option[Throwable], (Key2, Value2)]): RIO[R, Map[Key2, Value2]]

    Permalink

  28. def collect[R, A, B, Collection[+Element] <: Iterable[Element]](in: Collection[A])(f: (A) ⇒ ZIO[R, Option[Throwable], B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]]): RIO[R, Collection[B]]

    Permalink

  29. def collectAll[R, A](in: NonEmptyChunk[RIO[R, A]]): RIO[R, NonEmptyChunk[A]]

    Permalink

  30. def collectAll[R, A](in: Option[RIO[R, A]]): RIO[R, Option[A]]

    Permalink

  31. def collectAll[R, A](in: Array[RIO[R, A]])(implicit arg0: ClassTag[A]): RIO[R, Array[A]]

    Permalink

  32. def collectAll[R, A](in: Set[RIO[R, A]]): RIO[R, Set[A]]

    Permalink

  33. def collectAll[R, A, Collection[+Element] <: Iterable[Element]](in: Collection[RIO[R, A]])(implicit bf: zio.BuildFrom[Collection[RIO[R, A]], A, Collection[A]]): RIO[R, Collection[A]]

    Permalink

  34. def collectAllDiscard[R, A](in: ⇒ Iterable[RIO[R, A]]): RIO[R, Unit]

    Permalink

  35. def collectAllPar[R, A](as: NonEmptyChunk[RIO[R, A]]): RIO[R, NonEmptyChunk[A]]

    Permalink

  36. def collectAllPar[R, A](as: Array[RIO[R, A]])(implicit arg0: ClassTag[A]): RIO[R, Array[A]]

    Permalink

  37. def collectAllPar[R, A](as: Set[RIO[R, A]]): RIO[R, Set[A]]

    Permalink

  38. def collectAllPar[R, A, Collection[+Element] <: Iterable[Element]](as: Collection[RIO[R, A]])(implicit bf: zio.BuildFrom[Collection[RIO[R, A]], A, Collection[A]]): RIO[R, Collection[A]]

    Permalink

  39. def collectAllParDiscard[R, A](in: ⇒ Iterable[RIO[R, A]]): RIO[R, Unit]

    Permalink

  40. def collectAllParN[R, A, Collection[+Element] <: Iterable[Element]](n: ⇒ Int)(as: Collection[RIO[R, A]])(implicit bf: zio.BuildFrom[Collection[RIO[R, A]], A, Collection[A]]): RIO[R, Collection[A]]

    Permalink

  41. def collectAllParNDiscard[R, A](n: ⇒ Int)(as: ⇒ Iterable[RIO[R, A]]): RIO[R, Unit]

    Permalink

  42. def collectAllSuccesses[R, A, Collection[+Element] <: Iterable[Element]](in: Collection[RIO[R, A]])(implicit bf: zio.BuildFrom[Collection[RIO[R, A]], A, Collection[A]]): RIO[R, Collection[A]]

    Permalink

  43. def collectAllSuccessesPar[R, A, Collection[+Element] <: Iterable[Element]](as: Collection[RIO[R, A]])(implicit bf: zio.BuildFrom[Collection[RIO[R, A]], A, Collection[A]]): URIO[R, Collection[A]]

    Permalink

  44. def collectAllSuccessesParN[R, A, Collection[+Element] <: Iterable[Element]](n: ⇒ Int)(as: Collection[RIO[R, A]])(implicit bf: zio.BuildFrom[Collection[RIO[R, A]], A, Collection[A]]): URIO[R, Collection[A]]

    Permalink

  45. def collectAllWith[R, A, B, Collection[+Element] <: Iterable[Element]](in: Collection[RIO[R, A]])(f: PartialFunction[A, B])(implicit bf: zio.BuildFrom[Collection[RIO[R, A]], B, Collection[B]]): RIO[R, Collection[B]]

    Permalink

  46. def collectAllWithPar[R, A, B, Collection[+Element] <: Iterable[Element]](as: Collection[RIO[R, A]])(f: PartialFunction[A, B])(implicit bf: zio.BuildFrom[Collection[RIO[R, A]], B, Collection[B]]): RIO[R, Collection[B]]

    Permalink

  47. def collectAllWithParN[R, A, B, Collection[+Element] <: Iterable[Element]](n: ⇒ Int)(as: Collection[RIO[R, A]])(f: PartialFunction[A, B])(implicit bf: zio.BuildFrom[Collection[RIO[R, A]], B, Collection[B]]): RIO[R, Collection[B]]

    Permalink

  48. def collectFirst[R, A, B](as: ⇒ Iterable[A])(f: (A) ⇒ RIO[R, Option[B]]): RIO[R, Option[B]]

    Permalink

  49. def collectPar[R, Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) ⇒ ZIO[R, Option[Throwable], (Key2, Value2)]): RIO[R, Map[Key2, Value2]]

    Permalink

  50. def collectPar[R, A, B, Collection[+Element] <: Iterable[Element]](in: Collection[A])(f: (A) ⇒ ZIO[R, Option[Throwable], B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]]): RIO[R, Collection[B]]

    Permalink

  51. def collectParN[R, A, B, Collection[+Element] <: Iterable[Element]](n: ⇒ Int)(in: Collection[A])(f: (A) ⇒ ZIO[R, Option[Throwable], B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]]): RIO[R, Collection[B]]

    Permalink

    See also

    See zio.ZIO.collectParN

  52. def cond[A](predicate: ⇒ Boolean, result: ⇒ A, error: ⇒ Throwable): Task[A]

    Permalink

    See also

    See zio.ZIO.cond

  53. def debug(value: ⇒ Any): UIO[Unit]

    Permalink

    See also

    See zio.ZIO.debug

  54. def descriptor: UIO[Descriptor]

    Permalink

    See also

    See zio.ZIO.descriptor

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.die

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

    Permalink

    See also

    See zio.ZIO.dieMessage

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

    Permalink

    See also

    See zio.ZIO.done

  59. def environment[R]: URIO[R, R]

    Permalink

    See also

    See zio.ZIO.environment

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  62. def executor: UIO[Executor]

    Permalink

    See also

    See zio.ZIO.executor

  63. def exists[R, A](as: ⇒ Iterable[A])(f: (A) ⇒ RIO[R, Boolean]): RIO[R, Boolean]

    Permalink

    See also

    See zio.ZIO.exists

  64. def fail(error: ⇒ Throwable): Task[Nothing]

    Permalink

    See also

    See zio.ZIO.fail

  65. def failCause(cause: ⇒ Cause[Throwable]): Task[Nothing]

    Permalink

    See also

    See zio.ZIO.failCause

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

    Permalink

  67. val fiberId: UIO[FiberId]

    Permalink

  68. def filter[R, A](as: Set[A])(f: (A) ⇒ RIO[R, Boolean]): RIO[R, Set[A]]

    Permalink

  69. def filter[R, A, Collection[+Element] <: Iterable[Element]](as: Collection[A])(f: (A) ⇒ RIO[R, Boolean])(implicit bf: zio.BuildFrom[Collection[A], A, Collection[A]]): RIO[R, Collection[A]]

    Permalink

  70. def filterNot[R, A](as: Set[A])(f: (A) ⇒ RIO[R, Boolean]): RIO[R, Set[A]]

    Permalink

  71. def filterNot[R, A, Collection[+Element] <: Iterable[Element]](as: Collection[A])(f: (A) ⇒ RIO[R, Boolean])(implicit bf: zio.BuildFrom[Collection[A], A, Collection[A]]): RIO[R, Collection[A]]

    Permalink

  72. def filterNotPar[R, A](as: Set[A])(f: (A) ⇒ RIO[R, Boolean]): RIO[R, Set[A]]

    Permalink

  73. def filterNotPar[R, A, Collection[+Element] <: Iterable[Element]](as: Collection[A])(f: (A) ⇒ RIO[R, Boolean])(implicit bf: zio.BuildFrom[Collection[A], A, Collection[A]]): RIO[R, Collection[A]]

    Permalink

  74. def filterPar[R, A](as: Set[A])(f: (A) ⇒ RIO[R, Boolean]): RIO[R, Set[A]]

    Permalink

  75. def filterPar[R, A, Collection[+Element] <: Iterable[Element]](as: Collection[A])(f: (A) ⇒ RIO[R, Boolean])(implicit bf: zio.BuildFrom[Collection[A], A, Collection[A]]): RIO[R, Collection[A]]

    Permalink

  76. def finalize(): Unit

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.flatten

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

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

  81. def forall[R, A](as: ⇒ Iterable[A])(f: (A) ⇒ RIO[R, Boolean]): RIO[R, Boolean]

    Permalink

    See also

    See zio.ZIO.forall

  82. def foreach[R, A, B](in: NonEmptyChunk[A])(f: (A) ⇒ RIO[R, B]): RIO[R, NonEmptyChunk[B]]

    Permalink

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

    Permalink

  84. def foreach[R, Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) ⇒ RIO[R, (Key2, Value2)]): RIO[R, Map[Key2, Value2]]

    Permalink

  85. def foreach[R, A, B](in: Array[A])(f: (A) ⇒ RIO[R, B])(implicit arg0: ClassTag[B]): RIO[R, Array[B]]

    Permalink

  86. def foreach[R, A, B](in: Set[A])(f: (A) ⇒ RIO[R, B]): RIO[R, Set[B]]

    Permalink

  87. def foreach[R, A, B, Collection[+Element] <: Iterable[Element]](in: Collection[A])(f: (A) ⇒ RIO[R, B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]]): RIO[R, Collection[B]]

    Permalink

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

    Permalink

  89. final def foreachExec[R, A, B, Collection[+Element] <: Iterable[Element]](as: Collection[A])(exec: ⇒ ExecutionStrategy)(f: (A) ⇒ RIO[R, B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]]): RIO[R, Collection[B]]

    Permalink

    See also

    See zio.ZIO.foreachExec

  90. def foreachPar[R, A, B](as: NonEmptyChunk[A])(fn: (A) ⇒ RIO[R, B]): RIO[R, NonEmptyChunk[B]]

    Permalink

  91. def foreachPar[R, Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) ⇒ RIO[R, (Key2, Value2)]): RIO[R, Map[Key2, Value2]]

    Permalink

  92. def foreachPar[R, A, B](as: Array[A])(fn: (A) ⇒ RIO[R, B])(implicit arg0: ClassTag[B]): RIO[R, Array[B]]

    Permalink

  93. def foreachPar[R, A, B](as: Set[A])(fn: (A) ⇒ RIO[R, B]): RIO[R, Set[B]]

    Permalink

  94. def foreachPar[R, A, B, Collection[+Element] <: Iterable[Element]](as: Collection[A])(fn: (A) ⇒ RIO[R, B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]]): RIO[R, Collection[B]]

    Permalink

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

    Permalink

  96. def foreachParN[R, A, B, Collection[+Element] <: Iterable[Element]](n: ⇒ Int)(as: Collection[A])(fn: (A) ⇒ RIO[R, B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]]): RIO[R, Collection[B]]

    Permalink

    See also

    See zio.ZIO.foreachParN

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

    Permalink

  98. def forkAll[R, A, Collection[+Element] <: Iterable[Element]](as: Collection[RIO[R, A]])(implicit bf: zio.BuildFrom[Collection[RIO[R, A]], A, Collection[A]]): URIO[R, Fiber[Throwable, Collection[A]]]

    Permalink

    See also

    See zio.ZIO.forkAll

  99. def forkAllDiscard[R, A](as: ⇒ Iterable[RIO[R, A]]): URIO[R, Unit]

    Permalink

  100. def from[Input](input: ⇒ Input)(implicit constructor: ZIOConstructor[Nothing, Throwable, Input]): ZIO[OutEnvironment, OutError, OutSuccess]

    Permalink

    Constructs a RIO value of the appropriate type for the specified input.

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

    Permalink

    See also

    See zio.ZIO.fromEither

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

    Permalink

    See also

    See zio.ZIO.fromFiber

  103. def fromFiberZIO[A](fiber: ⇒ Task[Fiber[Throwable, A]]): Task[A]

    Permalink

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

    Permalink

    See also

    See zio.ZIO.fromFuture

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.fromTry

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

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

    Permalink

    See also

    See zio.ZIO.getOrFail

  109. def getState[S](implicit arg0: zio.Tag[S]): ZIO[Has[ZState[S]], Nothing, S]

    Permalink

    See also

    See zio.ZIO.getState

  110. def getStateWith[S]: GetStateWithPartiallyApplied[S]

    Permalink

  111. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  112. def ifZIO[R](b: ⇒ RIO[R, Boolean]): IfZIO[R, Throwable]

    Permalink

    See also

    zio.ZIO.ifZIO

  113. val infinity: URIO[Has[Clock], Nothing]

    Permalink

  114. val interrupt: UIO[Nothing]

    Permalink

    See also

    See zio.ZIO.interrupt

  115. def interruptAs(fiberId: ⇒ FiberId): UIO[Nothing]

    Permalink

    See also

    See zio.ZIO.interruptAs

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

    Permalink

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

    Permalink

  118. final def isInstanceOf[T0]: Boolean

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

    Permalink

    See also

    See zio.ZIO.iterate

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

    Permalink

    See also

    See zio.ZIO.left

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

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

    Permalink

    See also

    See zio.ZIO.loopDiscard

  123. def memoize[R, A, B](f: (A) ⇒ RIO[R, B]): UIO[(A) ⇒ RIO[R, B]]

    Permalink

    See also

    See zio.ZIO.memoize

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

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

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

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

    Permalink

    See also

    See zio.ZIO.never

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

    Permalink

    See also

    See zio.ZIO.none

  129. def noneOrFail(o: ⇒ Option[Throwable]): RIO[Nothing, Unit]

    Permalink

    See also

    See zio.ZIO.noneOrFail

  130. def noneOrFailWith[O](o: ⇒ Option[O])(f: (O) ⇒ Throwable): RIO[Nothing, Unit]

    Permalink

  131. def not[R](effect: ⇒ RIO[R, Boolean]): RIO[R, Boolean]

    Permalink

    See also

    See zio.ZIO.not

  132. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  134. def onExecutor[R, A](executor: ⇒ Executor)(taskr: RIO[R, A]): RIO[R, A]

    Permalink

    See also

    See zio.ZIO.onExecutor

  135. def partition[R, A, B](in: ⇒ Iterable[A])(f: (A) ⇒ RIO[R, B]): RIO[R, (Iterable[Throwable], Iterable[B])]

    Permalink

    See also

    See zio.ZIO.partition

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

    Permalink

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.provide

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

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

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.replicate

  143. def replicateZIO[R, A](n: ⇒ Int)(effect: ⇒ RIO[R, A]): RIO[R, Iterable[A]]

    Permalink

  144. def replicateZIODiscard[R, A](n: ⇒ Int)(effect: ⇒ RIO[R, A]): RIO[R, Unit]

    Permalink

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

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

    Permalink

    See also

    zio.ZIO.right

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

    Permalink

    See also

    See zio.ZIO.runtime

  148. val runtimeConfig: UIO[RuntimeConfig]

    Permalink

  149. def service[A](implicit arg0: zio.Tag[A]): URIO[Has[A], A]

    Permalink

    See also

    See zio.ZIO.service

  150. def serviceAt[Service]: ServiceAtPartiallyApplied[Service]

    Permalink

    See also

    See zio.ZIO.serviceAt

  151. def serviceWith[Service]: ServiceWithPartiallyApplied[Service]

    Permalink

    See also

    See zio.ZIO.serviceWith

  152. def setState[S](s: ⇒ S)(implicit arg0: zio.Tag[S]): ZIO[Has[ZState[S]], Nothing, Unit]

    Permalink

    See also

    See zio.ZIO.setState

  153. def sleep(duration: ⇒ zio.Duration): RIO[Has[Clock], Unit]

    Permalink

    See also

    See zio.ZIO.sleep

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

    Permalink

    See also

    zio.ZIO.some

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

    Permalink

    See also

    See zio.ZIO.succeed

  156. def succeedBlocking[A](a: ⇒ A): UIO[A]

    Permalink

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

    Permalink

    See also

    See zio.ZIO.suspend

  158. def suspendSucceed[R, A](rio: ⇒ RIO[R, A]): RIO[R, A]

    Permalink

  159. def suspendSucceedWith[R, A](p: (RuntimeConfig, FiberId) ⇒ RIO[R, A]): RIO[R, A]

    Permalink

  160. def suspendWith[R, A](p: (RuntimeConfig, FiberId) ⇒ RIO[R, A]): RIO[R, A]

    Permalink

    See also

    See zio.ZIO.suspendWith

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

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

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

    Permalink

    See also

    See zio.ZIO.trace

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

    Permalink

    See also

    See zio.ZIO.traced

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

    Permalink

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

    Permalink

  167. val unit: UIO[Unit]

    Permalink

    See also

    See zio.ZIO.unit

  168. def unless[R, A](b: ⇒ Boolean)(zio: ⇒ RIO[R, A]): RIO[R, Option[A]]

    Permalink

    See also

    See zio.ZIO.unless

  169. def unlessZIO[R](b: ⇒ RIO[R, Boolean]): UnlessZIO[R, Throwable]

    Permalink

    See also

    See zio.ZIO.unlessZIO

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

    Permalink

    See also

    See zio.ZIO.unsandbox

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

    Permalink

    See also

    See zio.ZIO.untraced

  172. def updateState[S](f: (S) ⇒ S)(implicit arg0: zio.Tag[S]): ZIO[Has[ZState[S]], Nothing, Unit]

    Permalink

    See also

    See zio.ZIO.updateState

  173. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  176. def when[R, A](b: ⇒ Boolean)(rio: ⇒ RIO[R, A]): RIO[R, Option[A]]

    Permalink

    See also

    See zio.ZIO.when

  177. def whenCase[R, A, B](a: ⇒ A)(pf: PartialFunction[A, RIO[R, B]]): RIO[R, Option[B]]

    Permalink

    See also

    See zio.ZIO.whenCase

  178. def whenCaseZIO[R, A, B](a: ⇒ RIO[R, A])(pf: PartialFunction[A, RIO[R, B]]): RIO[R, Option[B]]

    Permalink

    See also

    See zio.ZIO.whenCaseZIO

  179. def whenZIO[R](b: ⇒ RIO[R, Boolean]): WhenZIO[R, Throwable]

    Permalink

    See also

    See zio.ZIO.whenZIO

  180. def withRuntimeConfig[R, A](runtimeConfig: ⇒ RuntimeConfig)(rio: ⇒ RIO[R, A]): RIO[R, A]

    Permalink

  181. val yieldNow: UIO[Unit]

    Permalink

    See also

    See zio.ZIO.yieldNow

Deprecated Value Members

  1. def bracket[R, A, B](acquire: ⇒ RIO[R, A], release: (A) ⇒ URIO[R, Any], use: (A) ⇒ RIO[R, B]): RIO[R, B]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use acquireReleaseWith

    See also

    See bracket zio.ZIO

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use acquireReleaseWith

    See also

    See bracket zio.ZIO

  3. def bracketExit[R, A, B](acquire: ⇒ RIO[R, A], release: (A, Exit[Throwable, B]) ⇒ URIO[R, Any], use: (A) ⇒ RIO[R, B]): RIO[R, B]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use acquireReleaseExitWith

    See also

    See bracketExit zio.ZIO

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use acquireReleaseExitWith

    See also

    See bracketExit zio.ZIO

  5. def collectAllParN_[R, A](n: ⇒ Int)(as: ⇒ Iterable[RIO[R, A]]): RIO[R, Unit]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use collectAllParNDiscard

    See also

    See zio.ZIO.collectAllParNDiscard

  6. def collectAllPar_[R, A](in: ⇒ Iterable[RIO[R, A]]): RIO[R, Unit]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use collectAllParDiscard

    See also

    See zio.ZIO.collectAllPar_

  7. def collectAll_[R, A](in: ⇒ Iterable[RIO[R, A]]): RIO[R, Unit]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use collectAllDiscard

    See also

    See zio.ZIO.collectAll_

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use attempt

    See also

    See zio.ZIO.effect

  9. def effectAsync[R, A](register: ((RIO[R, A]) ⇒ Unit) ⇒ Any, blockingOn: ⇒ FiberId = FiberId.None): RIO[R, A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use async

    See also

    See zio.ZIO.effectAsync

  10. def effectAsyncInterrupt[R, A](register: ((RIO[R, A]) ⇒ Unit) ⇒ Either[Canceler[R], RIO[R, A]], blockingOn: ⇒ FiberId = FiberId.None): RIO[R, A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use asyncInterrupt

    See also

    See zio.ZIO.effectAsyncInterrupt

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use asyncZIO

    See also

    See zio.ZIO.effectAsyncM

  12. def effectAsyncMaybe[R, A](register: ((RIO[R, A]) ⇒ Unit) ⇒ Option[RIO[R, A]], blockingOn: ⇒ FiberId = FiberId.None): RIO[R, A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use asyncMaybe

    See also

    See zio.ZIO.effectAsyncMaybe

  13. def effectBlocking[A](effect: ⇒ A): Task[A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use attemptBlocking

    See also

    See zio.ZIO.effectBlocking

  14. def effectBlockingCancelable[A](effect: ⇒ A)(cancel: ⇒ UIO[Any]): Task[A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use attemptBlockingCancelable

    See also

    See zio.ZIO.effectBlockingCancelable

  15. def effectBlockingInterrupt[A](effect: ⇒ A): Task[A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use attemptBlockingInterrupt

    See also

    See zio.ZIO.effectBlockingInterrupt

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

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use suspend

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use suspendSucceed

    See also

    See zio.ZIO.effectSuspendTotal

  18. def effectSuspendTotalWith[R, A](f: (Platform, Id) ⇒ RIO[R, A]): RIO[R, A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use suspendSucceedWith

    See also

    See zio.ZIO.effectSuspendTotalWith

  19. def effectSuspendWith[R, A](f: (Platform, Id) ⇒ RIO[R, A]): RIO[R, A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use suspendWith

    See also

    See zio.ZIO.effectSuspendWith

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use succeed

    See also

    See zio.ZIO.effectTotal

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use foreachParNDiscard

    See also

    See zio.ZIO.foreachParN_

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use foreachParDiscard

    See also

    See zio.ZIO.foreachPar_

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use foreachDiscard

    See also

    See zio.ZIO.foreach_

  24. def forkAll_[R, A](as: ⇒ Iterable[RIO[R, A]]): URIO[R, Unit]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use forkAllDiscard

    See also

    See zio.ZIO.forkAll_

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use fromFiberZIO

    See also

    See zio.ZIO.fromFiberM

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use access

    See also

    See zio.ZIO.fromFunction

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use accessZIO

    See also

    See zio.ZIO.fromFunctionM

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use failCause

    See also

    See zio.ZIO.halt

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use failCauseWith

    See also

    See zio.ZIO.haltWith

  30. def ifM[R](b: ⇒ RIO[R, Boolean]): IfZIO[R, Throwable]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use ifZIO

    See also

    zio.ZIO.ifM

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use onExecutor

    See also

    See zio.ZIO.lock

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use loopDiscard

    See also

    See zio.ZIO.loop_

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

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zip

    See also

    zio.ZIO.mapN[R,E,A,B,C,D,F]*

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

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zip

    See also

    zio.ZIO.mapN[R,E,A,B,C,D]*

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zip

    See also

    zio.ZIO.mapN[R,E,A,B,C]*

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

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zipPar

    See also

    zio.ZIO.mapParN[R,E,A,B,C,D,F]*

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

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zipPar

    See also

    zio.ZIO.mapParN[R,E,A,B,C,D]*

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zipPar

    See also

    zio.ZIO.mapParN[R,E,A,B,C]*

  39. def replicateM[R, A](n: ⇒ Int)(effect: ⇒ RIO[R, A]): RIO[R, Iterable[A]]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use replicateZIO

    See also

    See zio.ZIO.replicateM

  40. def replicateM_[R, A](n: ⇒ Int)(effect: ⇒ RIO[R, A]): RIO[R, Unit]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use replicateZIODiscard

    See also

    See zio.ZIO.replicateM_

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use someOrFail

    See also

    See zio.ZIO.require

  42. def services[A, B, C, D](implicit arg0: zio.Tag[A], arg1: zio.Tag[B], arg2: zio.Tag[C], arg3: zio.Tag[D]): URIO[Has[A] with Has[B] with Has[C] with Has[D], (A, B, C, D)]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use service

    See also

    See zio.ZIO.services[A,B,C,D]*

  43. def services[A, B, C](implicit arg0: zio.Tag[A], arg1: zio.Tag[B], arg2: zio.Tag[C]): URIO[Has[A] with Has[B] with Has[C], (A, B, C)]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use service

    See also

    See zio.ZIO.services[A,B,C]*

  44. def services[A, B](implicit arg0: zio.Tag[A], arg1: zio.Tag[B]): URIO[Has[A] with Has[B], (A, B)]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use service

    See also

    See zio.ZIO.services[A,B]*

  45. def unlessM[R](b: ⇒ RIO[R, Boolean]): UnlessZIO[R, Throwable]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use unlessZIO

    See also

    See zio.ZIO.unlessM

  46. def whenCaseM[R, A, B](a: ⇒ RIO[R, A])(pf: PartialFunction[A, RIO[R, B]]): RIO[R, Option[B]]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use whenCaseZIO

    See also

    See zio.ZIO.whenCaseM

  47. def whenM[R](b: ⇒ RIO[R, Boolean]): WhenZIO[R, Throwable]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use whenZIO

    See also

    See zio.ZIO.whenM

Inherited from AnyRef

Inherited from Any

Ungrouped