Packages

o

zio

URIO

object URIO

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. URIO
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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[R, A](v: => URIO[R, Either[Nothing, A]])(implicit trace: ZTraceElement): URIO[R, A]

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

  6. def accessZIO[R]: AccessZIOPartiallyApplied[R]

  7. def acquireReleaseExitWith[R, A, B](acquire: => URIO[R, A], release: (A, Exit[Nothing, B]) => URIO[R, Any], use: (A) => URIO[R, B])(implicit trace: ZTraceElement): URIO[R, B]

    See also

    acquireReleaseExitWith in zio.ZIO

  8. def acquireReleaseExitWith[R, A](acquire: => URIO[R, A]): AcquireExit[R, Nothing, A]

    See also

    acquireReleaseExitWith in zio.ZIO

  9. def acquireReleaseWith[R, A, B](acquire: => URIO[R, A], release: (A) => URIO[R, Any], use: (A) => URIO[R, B])(implicit trace: ZTraceElement): URIO[R, B]

    See also

    acquireReleaseWith in zio.ZIO

  10. def acquireReleaseWith[R, A](acquire: => URIO[R, A]): Acquire[R, Nothing, A]

    See also

    acquireReleaseWith in zio.ZIO

  11. def allowInterrupt(implicit trace: ZTraceElement): UIO[Unit]

  12. def apply[A](a: => A)(implicit trace: ZTraceElement): UIO[A]

  13. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  14. def async[R, A](register: ((URIO[R, A]) => Unit) => Any, blockingOn: => FiberId = FiberId.None)(implicit trace: ZTraceElement): URIO[R, A]

  15. def asyncInterrupt[R, A](register: ((URIO[R, A]) => Unit) => Either[Canceler[R], URIO[R, A]], blockingOn: => FiberId = FiberId.None)(implicit trace: ZTraceElement): URIO[R, A]

  16. def asyncMaybe[R, A](register: ((URIO[R, A]) => Unit) => Option[URIO[R, A]], blockingOn: => FiberId = FiberId.None)(implicit trace: ZTraceElement): URIO[R, A]

  17. def asyncZIO[R, A](register: ((URIO[R, A]) => Unit) => URIO[R, Any])(implicit trace: ZTraceElement): URIO[R, A]

  18. def blocking[R, A](zio: => URIO[R, A])(implicit trace: ZTraceElement): URIO[R, A]

    See also

    See zio.ZIO.blocking

  19. def blockingExecutor(implicit trace: ZTraceElement): UIO[Executor]

  20. def checkInterruptible[R, A](f: (InterruptStatus) => URIO[R, A])(implicit trace: ZTraceElement): URIO[R, A]

  21. def checkTraced[R, A](f: (TracingStatus) => URIO[R, A])(implicit trace: ZTraceElement): URIO[R, A]

  22. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  23. def collect[R, Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) => ZIO[R, Option[Nothing], (Key2, Value2)])(implicit trace: ZTraceElement): URIO[R, Map[Key2, Value2]]

  24. def collect[R, A, B, Collection[+Element] <: Iterable[Element]](in: Collection[A])(f: (A) => ZIO[R, Option[Nothing], B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]], trace: ZTraceElement): URIO[R, Collection[B]]

  25. def collectAll[R, A](in: NonEmptyChunk[URIO[R, A]])(implicit trace: ZTraceElement): URIO[R, NonEmptyChunk[A]]

  26. def collectAll[R, A](in: Option[URIO[R, A]])(implicit trace: ZTraceElement): URIO[R, Option[A]]

  27. def collectAll[R, A](in: Array[URIO[R, A]])(implicit arg0: ClassTag[A], trace: ZTraceElement): URIO[R, Array[A]]

  28. def collectAll[R, A](in: Set[URIO[R, A]])(implicit trace: ZTraceElement): URIO[R, Set[A]]

  29. def collectAll[R, A, Collection[+Element] <: Iterable[Element]](in: Collection[URIO[R, A]])(implicit bf: zio.BuildFrom[Collection[URIO[R, A]], A, Collection[A]], trace: ZTraceElement): URIO[R, Collection[A]]

  30. def collectAllDiscard[R, A](in: => Iterable[URIO[R, A]])(implicit trace: ZTraceElement): URIO[R, Unit]

  31. def collectAllPar[R, A](as: NonEmptyChunk[URIO[R, A]])(implicit trace: ZTraceElement): URIO[R, NonEmptyChunk[A]]

  32. def collectAllPar[R, A](as: Array[URIO[R, A]])(implicit arg0: ClassTag[A], trace: ZTraceElement): URIO[R, Array[A]]

  33. def collectAllPar[R, A](as: Set[URIO[R, A]])(implicit trace: ZTraceElement): URIO[R, Set[A]]

  34. def collectAllPar[R, A, Collection[+Element] <: Iterable[Element]](in: Collection[URIO[R, A]])(implicit bf: zio.BuildFrom[Collection[URIO[R, A]], A, Collection[A]], trace: ZTraceElement): URIO[R, Collection[A]]

  35. def collectAllParDiscard[R, A](in: => Iterable[URIO[R, A]])(implicit trace: ZTraceElement): URIO[R, Unit]

  36. def collectAllSuccesses[R, A, Collection[+Element] <: Iterable[Element]](in: Collection[URIO[R, A]])(implicit bf: zio.BuildFrom[Collection[URIO[R, A]], A, Collection[A]], trace: ZTraceElement): URIO[R, Collection[A]]

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

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

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

  40. def collectFirst[R, A, B](as: => Iterable[A])(f: (A) => URIO[R, Option[B]])(implicit trace: ZTraceElement): URIO[R, Option[B]]

  41. def collectPar[R, Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) => ZIO[R, Option[Nothing], (Key2, Value2)])(implicit trace: ZTraceElement): URIO[R, Map[Key2, Value2]]

  42. def collectPar[R, A, B, Collection[+Element] <: Iterable[Element]](in: Collection[A])(f: (A) => ZIO[R, Option[Nothing], B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]], trace: ZTraceElement): URIO[R, Collection[B]]

  43. def debug(value: => Any)(implicit trace: ZTraceElement): UIO[Unit]

    See also

    See zio.ZIO.debug

  44. def descriptor(implicit trace: ZTraceElement): UIO[Descriptor]

  45. def descriptorWith[R, A](f: (Descriptor) => URIO[R, A])(implicit trace: ZTraceElement): URIO[R, A]

  46. def die(t: => Throwable)(implicit trace: ZTraceElement): UIO[Nothing]

    See also

    zio.ZIO.die

  47. def dieMessage(message: => String)(implicit trace: ZTraceElement): UIO[Nothing]

  48. def done[A](r: => Exit[Nothing, A])(implicit trace: ZTraceElement): UIO[A]

    See also

    zio.ZIO.done

  49. def environment[R](implicit trace: ZTraceElement): URIO[R, R]

  50. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  51. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  52. def executor(implicit trace: ZTraceElement): UIO[Executor]

    See also

    See zio.ZIO.executor

  53. def exists[R, A](as: => Iterable[A])(f: (A) => URIO[R, Boolean])(implicit trace: ZTraceElement): URIO[R, Boolean]

    See also

    See zio.ZIO.exists

  54. def failCause(cause: => Cause[Nothing])(implicit trace: ZTraceElement): UIO[Nothing]

  55. def failCauseWith[R](function: (() => ZTrace) => Cause[Nothing])(implicit trace: ZTraceElement): URIO[R, Nothing]

  56. def fiberId(implicit trace: ZTraceElement): UIO[FiberId]

  57. def filter[R, A](as: Set[A])(f: (A) => URIO[R, Boolean])(implicit trace: ZTraceElement): URIO[R, Set[A]]

  58. def filter[R, A, Collection[+Element] <: Iterable[Element]](as: Collection[A])(f: (A) => URIO[R, Boolean])(implicit bf: zio.BuildFrom[Collection[A], A, Collection[A]], trace: ZTraceElement): URIO[R, Collection[A]]

  59. def filterNot[R, A](as: Set[A])(f: (A) => URIO[R, Boolean])(implicit trace: ZTraceElement): URIO[R, Set[A]]

  60. def filterNot[R, A, Collection[+Element] <: Iterable[Element]](as: Collection[A])(f: (A) => URIO[R, Boolean])(implicit bf: zio.BuildFrom[Collection[A], A, Collection[A]], trace: ZTraceElement): URIO[R, Collection[A]]

  61. def filterNotPar[R, A](as: Set[A])(f: (A) => URIO[R, Boolean])(implicit trace: ZTraceElement): URIO[R, Set[A]]

  62. def filterNotPar[R, A, Collection[+Element] <: Iterable[Element]](as: Collection[A])(f: (A) => URIO[R, Boolean])(implicit bf: zio.BuildFrom[Collection[A], A, Collection[A]], trace: ZTraceElement): URIO[R, Collection[A]]

  63. def filterPar[R, A](as: Set[A])(f: (A) => URIO[R, Boolean])(implicit trace: ZTraceElement): URIO[R, Set[A]]

  64. def filterPar[R, A, Collection[+Element] <: Iterable[Element]](as: Collection[A])(f: (A) => URIO[R, Boolean])(implicit bf: zio.BuildFrom[Collection[A], A, Collection[A]], trace: ZTraceElement): URIO[R, Collection[A]]

  65. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  66. def firstSuccessOf[R, A](rio: => URIO[R, A], rest: => Iterable[URIO[R, A]])(implicit trace: ZTraceElement): URIO[R, A]

  67. def flatten[R, A](taskr: => URIO[R, URIO[R, A]])(implicit trace: ZTraceElement): URIO[R, A]

  68. def foldLeft[R, S, A](in: => Iterable[A])(zero: => S)(f: (S, A) => URIO[R, S])(implicit trace: ZTraceElement): URIO[R, S]

  69. def foldRight[R, S, A](in: => Iterable[A])(zero: => S)(f: (A, S) => URIO[R, S])(implicit trace: ZTraceElement): URIO[R, S]

  70. def forall[R, A](as: => Iterable[A])(f: (A) => URIO[R, Boolean])(implicit trace: ZTraceElement): URIO[R, Boolean]

    See also

    See zio.ZIO.forall

  71. def foreach[R, A, B](in: NonEmptyChunk[A])(f: (A) => URIO[R, B])(implicit trace: ZTraceElement): URIO[R, NonEmptyChunk[B]]

  72. def foreach[R, A, B](in: Option[A])(f: (A) => URIO[R, B])(implicit trace: ZTraceElement): URIO[R, Option[B]]

  73. def foreach[R, Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) => URIO[R, (Key2, Value2)])(implicit trace: ZTraceElement): URIO[R, Map[Key2, Value2]]

  74. final def foreach[R, A, B](in: Array[A])(f: (A) => URIO[R, B])(implicit arg0: ClassTag[B], trace: ZTraceElement): URIO[R, Array[B]]

  75. final def foreach[R, A, B](in: Set[A])(f: (A) => URIO[R, B])(implicit trace: ZTraceElement): URIO[R, Set[B]]

  76. def foreach[R, A, B, Collection[+Element] <: Iterable[Element]](in: Collection[A])(f: (A) => URIO[R, B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]], trace: ZTraceElement): URIO[R, Collection[B]]

  77. def foreachDiscard[R, A](as: => Iterable[A])(f: (A) => URIO[R, Any])(implicit trace: ZTraceElement): URIO[R, Unit]

  78. final def foreachExec[R, A, B, Collection[+Element] <: Iterable[Element]](as: Collection[A])(exec: => ExecutionStrategy)(f: (A) => URIO[R, B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]], trace: ZTraceElement): URIO[R, Collection[B]]

  79. def foreachPar[R, A, B](as: NonEmptyChunk[A])(fn: (A) => URIO[R, B])(implicit trace: ZTraceElement): URIO[R, NonEmptyChunk[B]]

  80. def foreachPar[R, Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) => URIO[R, (Key2, Value2)])(implicit trace: ZTraceElement): URIO[R, Map[Key2, Value2]]

  81. final def foreachPar[R, A, B](as: Array[A])(fn: (A) => URIO[R, B])(implicit arg0: ClassTag[B], trace: ZTraceElement): URIO[R, Array[B]]

  82. final def foreachPar[R, A, B](as: Set[A])(fn: (A) => URIO[R, B])(implicit trace: ZTraceElement): URIO[R, Set[B]]

  83. def foreachPar[R, A, B, Collection[+Element] <: Iterable[Element]](as: Collection[A])(fn: (A) => URIO[R, B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]], trace: ZTraceElement): URIO[R, Collection[B]]

  84. def foreachParDiscard[R, A, B](as: => Iterable[A])(f: (A) => URIO[R, Any])(implicit trace: ZTraceElement): URIO[R, Unit]

  85. def forkAll[R, A, Collection[+Element] <: Iterable[Element]](as: Collection[URIO[R, A]])(implicit bf: zio.BuildFrom[Collection[URIO[R, A]], A, Collection[A]], trace: ZTraceElement): URIO[R, Fiber[Nothing, Collection[A]]]

  86. def forkAllDiscard[R, A](as: => Iterable[URIO[R, A]])(implicit trace: ZTraceElement): URIO[R, Unit]

  87. def from[Input](input: => Input)(implicit constructor: ZIOConstructor[Nothing, Nothing, Input], trace: ZTraceElement): ZIO[OutEnvironment, OutError, OutSuccess]

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

  88. def fromEither[A](v: => Either[Nothing, A])(implicit trace: ZTraceElement): UIO[A]

  89. def fromFiber[A](fiber: => Fiber[Nothing, A])(implicit trace: ZTraceElement): UIO[A]

  90. def fromFiberZIO[A](fiber: => UIO[Fiber[Nothing, A]])(implicit trace: ZTraceElement): UIO[A]

  91. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  92. def getState[S](implicit arg0: zio.Tag[S], trace: ZTraceElement): ZIO[Has[ZState[S]], Nothing, S]

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

  94. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  95. def ifZIO[R](b: => URIO[R, Boolean]): IfZIO[R, Nothing]

  96. def infinity(implicit trace: ZTraceElement): URIO[Has[Clock], Nothing]

  97. def interrupt(implicit trace: ZTraceElement): UIO[Nothing]

  98. def interruptAs(fiberId: => FiberId)(implicit trace: ZTraceElement): UIO[Nothing]

  99. def interruptible[R, A](taskr: => URIO[R, A])(implicit trace: ZTraceElement): URIO[R, A]

  100. def interruptibleMask[R, A](k: (InterruptStatusRestore) => URIO[R, A])(implicit trace: ZTraceElement): URIO[R, A]

  101. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  102. def iterate[R, S](initial: => S)(cont: (S) => Boolean)(body: (S) => URIO[R, S])(implicit trace: ZTraceElement): URIO[R, S]

    See also

    See zio.ZIO.iterate

  103. def left[R, A](a: => A)(implicit trace: ZTraceElement): URIO[R, Either[A, Nothing]]

    See also

    zio.ZIO.left

  104. def loop[R, A, S](initial: => S)(cont: (S) => Boolean, inc: (S) => S)(body: (S) => URIO[R, A])(implicit trace: ZTraceElement): URIO[R, List[A]]

    See also

    See zio.ZIO.loop

  105. def loopDiscard[R, S](initial: => S)(cont: (S) => Boolean, inc: (S) => S)(body: (S) => URIO[R, Any])(implicit trace: ZTraceElement): URIO[R, Unit]

  106. def memoize[R, A, B](f: (A) => URIO[R, B])(implicit trace: ZTraceElement): UIO[(A) => URIO[R, B]]

    See also

    See zio.ZIO.memoize

  107. def mergeAll[R, A, B](in: => Iterable[URIO[R, A]])(zero: => B)(f: (B, A) => B)(implicit trace: ZTraceElement): URIO[R, B]

  108. def mergeAllPar[R, A, B](in: => Iterable[URIO[R, A]])(zero: => B)(f: (B, A) => B)(implicit trace: ZTraceElement): URIO[R, B]

  109. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  110. def never(implicit trace: ZTraceElement): UIO[Nothing]

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

    See also

    zio.ZIO.none

  112. def not[R](effect: => URIO[R, Boolean])(implicit trace: ZTraceElement): URIO[R, Boolean]

    See also

    See zio.ZIO.not

  113. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  114. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  115. def onExecutor[R, A](executor: => Executor)(taskr: URIO[R, A])(implicit trace: ZTraceElement): URIO[R, A]

  116. def provide[R, A](r: => R)(implicit trace: ZTraceElement): (URIO[R, A]) => UIO[A]

  117. def raceAll[R, R1 <: R, A](taskr: => URIO[R, A], taskrs: => Iterable[URIO[R1, A]])(implicit trace: ZTraceElement): URIO[R1, A]

  118. def reduceAll[R, R1 <: R, A](a: => URIO[R, A], as: => Iterable[URIO[R1, A]])(f: (A, A) => A)(implicit trace: ZTraceElement): URIO[R1, A]

  119. def reduceAllPar[R, R1 <: R, A](a: => URIO[R, A], as: => Iterable[URIO[R1, A]])(f: (A, A) => A)(implicit trace: ZTraceElement): URIO[R1, A]

  120. def replicate[R, A](n: => Int)(effect: => URIO[R, A])(implicit trace: ZTraceElement): Iterable[URIO[R, A]]

  121. def replicateZIO[R, A](n: => Int)(effect: => URIO[R, A])(implicit trace: ZTraceElement): URIO[R, Iterable[A]]

  122. def replicateZIODiscard[R, A](n: => Int)(effect: => URIO[R, A])(implicit trace: ZTraceElement): URIO[R, Unit]

  123. def reserve[R, A, B](reservation: => URIO[R, Reservation[R, Nothing, A]])(use: (A) => URIO[R, B])(implicit trace: ZTraceElement): URIO[R, B]

  124. def right[R, B](b: => B)(implicit trace: ZTraceElement): RIO[R, Either[Nothing, B]]

  125. def runtime[R](implicit trace: ZTraceElement): URIO[R, Runtime[R]]

  126. def runtimeConfig(implicit trace: ZTraceElement): UIO[RuntimeConfig]

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

    See also

    See zio.ZIO.service

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

    See also

    See zio.ZIO.serviceAt

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

  130. def setState[S](s: => S)(implicit arg0: zio.Tag[S], trace: ZTraceElement): ZIO[Has[ZState[S]], Nothing, Unit]

  131. def sleep(duration: => zio.Duration)(implicit trace: ZTraceElement): URIO[Has[Clock], Unit]

  132. def some[R, A](a: => A)(implicit trace: ZTraceElement): URIO[R, Option[A]]

    See also

    zio.ZIO.some

  133. def succeed[A](effect: => A)(implicit trace: ZTraceElement): UIO[A]

  134. def succeedBlocking[A](a: => A)(implicit trace: ZTraceElement): UIO[A]

  135. def suspendSucceed[R, A](rio: => URIO[R, A])(implicit trace: ZTraceElement): URIO[R, A]

  136. def suspendSucceedWith[R, A](f: (RuntimeConfig, FiberId) => URIO[R, A])(implicit trace: ZTraceElement): URIO[R, A]

  137. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  138. def toString(): String
    Definition Classes
    AnyRef → Any
  139. def trace(implicit trace: ZTraceElement): UIO[ZTrace]

  140. def traced[R, A](zio: => URIO[R, A])(implicit trace: ZTraceElement): URIO[R, A]

  141. def uninterruptible[R, A](taskr: => URIO[R, A])(implicit trace: ZTraceElement): URIO[R, A]

  142. def uninterruptibleMask[R, A](k: (InterruptStatusRestore) => URIO[R, A])(implicit trace: ZTraceElement): URIO[R, A]

  143. val unit: UIO[Unit]

    See also

    zio.ZIO.unit

  144. def unless[R, A](b: => Boolean)(zio: => URIO[R, A])(implicit trace: ZTraceElement): URIO[R, Option[A]]

    See also

    See zio.ZIO.unless

  145. def unlessZIO[R](b: => URIO[R, Boolean]): UnlessZIO[R, Nothing]

    See also

    See zio.ZIO.unlessZIO

  146. def unsandbox[R, A](v: => IO[Cause[Nothing], A])(implicit trace: ZTraceElement): URIO[R, A]

  147. def untraced[R, A](zio: => URIO[R, A])(implicit trace: ZTraceElement): URIO[R, A]

  148. def updateState[S](f: (S) => S)(implicit arg0: zio.Tag[S], trace: ZTraceElement): ZIO[Has[ZState[S]], Nothing, Unit]

  149. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  150. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  151. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  152. def when[R, A](b: => Boolean)(rio: => URIO[R, A])(implicit trace: ZTraceElement): URIO[R, Option[A]]

    See also

    zio.ZIO.when

  153. def whenCase[R, A, B](a: => A)(pf: PartialFunction[A, URIO[R, B]])(implicit trace: ZTraceElement): URIO[R, Option[B]]

  154. def whenCaseZIO[R, A, B](a: => URIO[R, A])(pf: PartialFunction[A, URIO[R, B]])(implicit trace: ZTraceElement): URIO[R, Option[B]]

  155. def whenZIO[R](b: => URIO[R, Boolean]): WhenZIO[R, Nothing]

  156. def withRuntimeConfig[R, A](runtimeConfig: => RuntimeConfig)(urio: => URIO[R, A])(implicit trace: ZTraceElement): URIO[R, A]

  157. def yieldNow(implicit trace: ZTraceElement): UIO[Unit]

Deprecated Value Members

  1. def accessM[R]: AccessZIOPartiallyApplied[R]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use accessZIO

    See also

    zio.ZIO.accessM

  2. def bracket[R, A, B](acquire: => URIO[R, A], release: (A) => URIO[R, Any], use: (A) => URIO[R, B])(implicit trace: ZTraceElement): URIO[R, B]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use acquireReleaseWith

    See also

    bracket in zio.ZIO

  3. def bracket[R, A](acquire: => URIO[R, A]): Acquire[R, Nothing, A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use acquireReleaseWith

    See also

    bracket in zio.ZIO

  4. def bracketExit[R, A, B](acquire: => URIO[R, A], release: (A, Exit[Nothing, B]) => URIO[R, Any], use: (A) => URIO[R, B])(implicit trace: ZTraceElement): URIO[R, B]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use acquireReleaseExitWith

    See also

    bracketExit in zio.ZIO

  5. def bracketExit[R, A](acquire: => URIO[R, A]): AcquireExit[R, Nothing, A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use acquireReleaseExitWith

    See also

    bracketExit in zio.ZIO

  6. def collectAllParN[R, A, Collection[+Element] <: Iterable[Element]](n: => Int)(as: Collection[URIO[R, A]])(implicit bf: zio.BuildFrom[Collection[URIO[R, A]], A, Collection[A]], trace: ZTraceElement): URIO[R, Collection[A]]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use collectAllPar

    See also

    See zio.ZIO.collectAllParN

  7. def collectAllParNDiscard[R, A](n: => Int)(as: => Iterable[URIO[R, A]])(implicit trace: ZTraceElement): URIO[R, Unit]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use collectAllParDiscard

    See also

    See zio.ZIO.collectAllParNDiscard

  8. def collectAllParN_[R, A](n: => Int)(as: => Iterable[URIO[R, A]])(implicit trace: ZTraceElement): URIO[R, Unit]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use collectAllParDiscard

    See also

    See zio.ZIO.collectAllParN_

  9. def collectAllPar_[R, A](in: => Iterable[URIO[R, A]])(implicit trace: ZTraceElement): URIO[R, Unit]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use collectAllParDiscard

    See also

    See zio.ZIO.collectAllPar_

  10. def collectAllSuccessesParN[R, A, Collection[+Element] <: Iterable[Element]](n: => Int)(as: Collection[URIO[R, A]])(implicit bf: zio.BuildFrom[Collection[URIO[R, A]], A, Collection[A]], trace: ZTraceElement): URIO[R, Collection[A]]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use collectAllSuccessesPar

    See also

    zio.ZIO.collectAllSuccessesParN

  11. def collectAllWithParN[R, A, B, Collection[+Element] <: Iterable[Element]](n: => Int)(as: Collection[URIO[R, A]])(f: PartialFunction[A, B])(implicit bf: zio.BuildFrom[Collection[URIO[R, A]], B, Collection[B]], trace: ZTraceElement): URIO[R, Collection[B]]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use collectAllWithPar

    See also

    zio.ZIO.collectAllWithParN

  12. def collectAll_[R, A](in: => Iterable[URIO[R, A]])(implicit trace: ZTraceElement): URIO[R, Unit]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use collectAllDiscard

    See also

    See zio.ZIO.collectAll_

  13. def collectParN[R, A, B, Collection[+Element] <: Iterable[Element]](n: => Int)(in: Collection[A])(f: (A) => ZIO[R, Option[Nothing], B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]], trace: ZTraceElement): URIO[R, Collection[B]]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use collectPar

    See also

    See zio.ZIO.collectParN

  14. def effectAsync[R, A](register: ((URIO[R, A]) => Unit) => Any, blockingOn: => FiberId = FiberId.None)(implicit trace: ZTraceElement): URIO[R, A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use async

    See also

    zio.ZIO.effectAsync

  15. def effectAsyncInterrupt[R, A](register: ((URIO[R, A]) => Unit) => Either[Canceler[R], URIO[R, A]], blockingOn: => FiberId = FiberId.None)(implicit trace: ZTraceElement): URIO[R, A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use asyncInterrupt

    See also

    zio.ZIO.effectAsyncInterrupt

  16. def effectAsyncM[R, A](register: ((URIO[R, A]) => Unit) => URIO[R, Any])(implicit trace: ZTraceElement): URIO[R, A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use asyncZIO

    See also

    zio.ZIO.effectAsyncM

  17. def effectAsyncMaybe[R, A](register: ((URIO[R, A]) => Unit) => Option[URIO[R, A]], blockingOn: => FiberId = FiberId.None)(implicit trace: ZTraceElement): URIO[R, A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use asyncMaybe

    See also

    zio.ZIO.effectAsyncMaybe

  18. def effectSuspendTotal[R, A](rio: => URIO[R, A])(implicit trace: ZTraceElement): URIO[R, A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use suspendSucceed

    See also

    zio.ZIO.effectSuspendTotal

  19. def effectSuspendTotalWith[R, A](p: (Platform, Id) => URIO[R, A])(implicit trace: ZTraceElement): URIO[R, A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use suspendSucceedWith

    See also

    zio.ZIO.effectSuspendTotalWith

  20. def effectTotal[A](effect: => A)(implicit trace: ZTraceElement): UIO[A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use succeed

    See also

    zio.ZIO.effectTotal

  21. def foreachParN[R, A, B, Collection[+Element] <: Iterable[Element]](n: => Int)(as: Collection[A])(fn: (A) => URIO[R, B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]], trace: ZTraceElement): URIO[R, Collection[B]]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use foreachPar

    See also

    zio.ZIO.foreachParN

  22. def foreachParNDiscard[R, A, B](n: => Int)(as: => Iterable[A])(f: (A) => URIO[R, Any])(implicit trace: ZTraceElement): URIO[R, Unit]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use foreachParDiscard

    See also

    zio.ZIO.foreachParNDiscard

  23. def foreachParN_[R, A, B](n: => Int)(as: => Iterable[A])(f: (A) => URIO[R, Any])(implicit trace: ZTraceElement): URIO[R, Unit]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use foreachParDiscard

    See also

    zio.ZIO.foreachParN_

  24. def foreachPar_[R, A, B](as: => Iterable[A])(f: (A) => URIO[R, Any])(implicit trace: ZTraceElement): URIO[R, Unit]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use foreachParDiscard

    See also

    zio.ZIO.foreachPar_

  25. def foreach_[R, A](as: => Iterable[A])(f: (A) => URIO[R, Any])(implicit trace: ZTraceElement): URIO[R, Unit]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use foreachDiscard

    See also

    zio.ZIO.foreach_

  26. def forkAll_[R, A](as: => Iterable[URIO[R, A]])(implicit trace: ZTraceElement): URIO[R, Unit]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use forkAllDiscard

    See also

    zio.ZIO.forkAll_

  27. def fromFiberM[A](fiber: => UIO[Fiber[Nothing, A]])(implicit trace: ZTraceElement): UIO[A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use fromFiberZIO

    See also

    zio.ZIO.fromFiberM

  28. def fromFunction[R, A](f: (R) => A)(implicit trace: ZTraceElement): URIO[R, A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use access

    See also

    zio.ZIO.fromFunction

  29. def fromFunctionM[R, A](f: (R) => UIO[A])(implicit trace: ZTraceElement): URIO[R, A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use accessZIO

    See also

    zio.ZIO.fromFunctionM

  30. def halt(cause: => Cause[Nothing])(implicit trace: ZTraceElement): UIO[Nothing]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use failCause

    See also

    zio.ZIO.halt

  31. def haltWith[R](function: (() => ZTrace) => Cause[Nothing])(implicit trace: ZTraceElement): URIO[R, Nothing]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use failCauseWith

    See also

    zio.ZIO.haltWith

  32. def ifM[R](b: => URIO[R, Boolean]): IfZIO[R, Nothing]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use ifZIO

    See also

    zio.ZIO.ifM

  33. def lock[R, A](executor: => Executor)(taskr: => URIO[R, A])(implicit trace: ZTraceElement): URIO[R, A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use onExecutor

    See also

    zio.ZIO.lock

  34. def loop_[R, S](initial: => S)(cont: (S) => Boolean, inc: (S) => S)(body: (S) => URIO[R, Any])(implicit trace: ZTraceElement): URIO[R, Unit]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use loopDiscard

    See also

    See zio.ZIO.loop_

  35. def mapN[R, A, B, C, D, F](urio1: => URIO[R, A], urio2: => URIO[R, B], urio3: => URIO[R, C], urio4: => URIO[R, D])(f: (A, B, C, D) => F)(implicit trace: ZTraceElement): URIO[R, F]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zip

    See also

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

  36. def mapN[R, A, B, C, D](urio1: => URIO[R, A], urio2: => URIO[R, B], urio3: => URIO[R, C])(f: (A, B, C) => D)(implicit trace: ZTraceElement): URIO[R, D]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zip

    See also

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

  37. def mapN[R, A, B, C](urio1: => URIO[R, A], urio2: => URIO[R, B])(f: (A, B) => C)(implicit trace: ZTraceElement): URIO[R, C]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zip

    See also

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

  38. def mapParN[R, A, B, C, D, F](urio1: => URIO[R, A], urio2: => URIO[R, B], urio3: => URIO[R, C], urio4: => URIO[R, D])(f: (A, B, C, D) => F)(implicit trace: ZTraceElement): URIO[R, F]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zipPar

    See also

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

  39. def mapParN[R, A, B, C, D](urio1: => URIO[R, A], urio2: => URIO[R, B], urio3: => URIO[R, C])(f: (A, B, C) => D)(implicit trace: ZTraceElement): URIO[R, D]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zipPar

    See also

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

  40. def mapParN[R, A, B, C](urio1: => URIO[R, A], urio2: => URIO[R, B])(f: (A, B) => C)(implicit trace: ZTraceElement): URIO[R, C]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zipPar

    See also

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

  41. def replicateM[R, A](n: => Int)(effect: => URIO[R, A])(implicit trace: ZTraceElement): URIO[R, Iterable[A]]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use replicateZIO

    See also

    See zio.ZIO.replicateM

  42. def replicateM_[R, A](n: => Int)(effect: => URIO[R, A])(implicit trace: ZTraceElement): URIO[R, Unit]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use replicateZIODiscard

    See also

    See zio.ZIO.replicateM_

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

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use service

    See also

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

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

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use service

    See also

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

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

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use service

    See also

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

  46. def unlessM[R](b: => URIO[R, Boolean]): UnlessZIO[R, Nothing]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use unlessZIO

    See also

    See zio.ZIO.unlessM

  47. def whenCaseM[R, A, B](a: => URIO[R, A])(pf: PartialFunction[A, URIO[R, B]])(implicit trace: ZTraceElement): URIO[R, Option[B]]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use whenCaseZIO

    See also

    zio.ZIO.whenCaseM

  48. def whenM[R](b: => URIO[R, Boolean]): WhenZIO[R, Nothing]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use whenZIO

    See also

    zio.ZIO.whenM

Inherited from AnyRef

Inherited from Any

Ungrouped