Object

zio

UIO

Related Doc: package zio

Permalink

object UIO

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UIO
  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[A](v: UIO[Either[Nothing, A]]): UIO[A]

    Permalink

    See also

    See zio.ZIO.absolve

  5. def acquireReleaseExitWith[A, B](acquire: UIO[A], release: (A, Exit[Nothing, B]) ⇒ UIO[Any], use: (A) ⇒ UIO[B]): UIO[B]

    Permalink

    See also

    See acquireReleaseExitWith zio.ZIO

  6. def acquireReleaseExitWith[A](acquire: UIO[A]): BracketExitAcquire[Any, Nothing, A]

    Permalink

    See also

    See acquireReleaseExitWith zio.ZIO

  7. def acquireReleaseWith[A, B](acquire: UIO[A], release: (A) ⇒ UIO[Any], use: (A) ⇒ UIO[B]): UIO[B]

    Permalink

    See also

    See acquireReleaseWith zio.ZIO

  8. def acquireReleaseWith[A](acquire: UIO[A]): BracketAcquire[Any, Nothing, A]

    Permalink

    See also

    See acquireReleaseWith zio.ZIO

  9. def allowInterrupt: UIO[Unit]

    Permalink

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

    Permalink

    See also

    See zio.ZIO.apply

  11. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  12. def async[A](register: ((UIO[A]) ⇒ Unit) ⇒ Any, blockingOn: Id = Fiber.Id.None): UIO[A]

    Permalink

    See also

    See zio.ZIO.async

  13. def asyncInterrupt[A](register: ((UIO[A]) ⇒ Unit) ⇒ Either[Canceler[Any], UIO[A]], blockingOn: Id = Fiber.Id.None): UIO[A]

    Permalink

  14. def asyncMaybe[A](register: ((UIO[A]) ⇒ Unit) ⇒ Option[UIO[A]], blockingOn: Id = Fiber.Id.None): UIO[A]

    Permalink

    See also

    See zio.ZIO.asyncMaybe

  15. def asyncZIO[A](register: ((UIO[A]) ⇒ Unit) ⇒ UIO[Any]): UIO[A]

    Permalink

    See also

    See zio.ZIO.asyncZIO

  16. def blocking[A](zio: UIO[A]): UIO[A]

    Permalink

    See also

    See zio.ZIO.blocking

  17. def blockingExecutor: UIO[Executor]

    Permalink

  18. def checkInterruptible[A](f: (InterruptStatus) ⇒ UIO[A]): UIO[A]

    Permalink

  19. def checkTraced[A](f: (TracingStatus) ⇒ UIO[A]): UIO[A]

    Permalink

    See also

    See zio.ZIO.checkTraced

  20. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. def collect[A, B, Collection[+Element] <: Iterable[Element]](in: Collection[A])(f: (A) ⇒ IO[Option[Nothing], B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]]): UIO[Collection[B]]

    Permalink

    See also

    See zio.ZIO.collect

  22. def collectAll[A](in: NonEmptyChunk[UIO[A]]): UIO[NonEmptyChunk[A]]

    Permalink

  23. def collectAll[A](in: Option[UIO[A]]): UIO[Option[A]]

    Permalink

  24. def collectAll[A](in: Array[UIO[A]])(implicit arg0: ClassTag[A]): UIO[Array[A]]

    Permalink

  25. def collectAll[A](in: Set[UIO[A]]): UIO[Set[A]]

    Permalink

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

    Permalink

  27. def collectAllDiscard[A](in: Iterable[UIO[A]]): UIO[Unit]

    Permalink

  28. def collectAllPar[A](as: NonEmptyChunk[UIO[A]]): UIO[NonEmptyChunk[A]]

    Permalink

  29. def collectAllPar[A](as: Array[UIO[A]])(implicit arg0: ClassTag[A]): UIO[Array[A]]

    Permalink

  30. def collectAllPar[A](as: Set[UIO[A]]): UIO[Set[A]]

    Permalink

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

    Permalink

  32. def collectAllParDiscard[A](in: Iterable[UIO[A]]): UIO[Unit]

    Permalink

  33. def collectAllParN[A, Collection[+Element] <: Iterable[Element]](n: Int)(as: Collection[UIO[A]])(implicit bf: zio.BuildFrom[Collection[UIO[A]], A, Collection[A]]): UIO[Collection[A]]

    Permalink

  34. def collectAllParNDiscard[A](n: Int)(as: Iterable[UIO[A]]): UIO[Unit]

    Permalink

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

    Permalink

  36. def collectAllSuccessesPar[A, Collection[+Element] <: Iterable[Element]](as: Collection[UIO[A]])(implicit bf: zio.BuildFrom[Collection[UIO[A]], A, Collection[A]]): UIO[Collection[A]]

    Permalink

  37. def collectAllSuccessesParN[A, Collection[+Element] <: Iterable[Element]](n: Int)(as: Collection[UIO[A]])(implicit bf: zio.BuildFrom[Collection[UIO[A]], A, Collection[A]]): UIO[Collection[A]]

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

  41. def collectFirst[A, B](as: Iterable[A])(f: (A) ⇒ UIO[Option[B]]): UIO[Option[B]]

    Permalink

  42. def collectPar[A, B, Collection[+Element] <: Iterable[Element]](in: Collection[A])(f: (A) ⇒ IO[Option[Nothing], B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]]): UIO[Collection[B]]

    Permalink

    See also

    See zio.ZIO.collectPar

  43. def collectParN[A, B, Collection[+Element] <: Iterable[Element]](n: Int)(in: Collection[A])(f: (A) ⇒ IO[Option[Nothing], B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]]): UIO[Collection[B]]

    Permalink

    See also

    See zio.ZIO.collectParN

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

    Permalink

    See also

    See zio.ZIO.debug

  45. def descriptor: UIO[Descriptor]

    Permalink

    See also

    See zio.ZIO.descriptor

  46. def descriptorWith[A](f: (Descriptor) ⇒ UIO[A]): UIO[A]

    Permalink

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

    Permalink

    See also

    See zio.ZIO.die

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

    Permalink

    See also

    See zio.ZIO.dieMessage

  49. def done[A](r: ⇒ Exit[Nothing, A]): UIO[A]

    Permalink

    See also

    See zio.ZIO.done

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

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

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

    Permalink

    See also

    See zio.ZIO.executor

  53. def exists[A](as: Iterable[A])(f: (A) ⇒ UIO[Boolean]): UIO[Boolean]

    Permalink

    See also

    See zio.ZIO.exists

  54. def failCause(cause: ⇒ Cause[Nothing]): UIO[Nothing]

    Permalink

    See also

    See zio.ZIO.failCause

  55. def failCauseWith(function: (() ⇒ ZTrace) ⇒ Cause[Nothing]): UIO[Nothing]

    Permalink

  56. val fiberId: UIO[Id]

    Permalink

  57. def filter[A](as: Set[A])(f: (A) ⇒ UIO[Boolean]): UIO[Set[A]]

    Permalink

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

    Permalink

  59. def filterNot[A](as: Set[A])(f: (A) ⇒ UIO[Boolean]): UIO[Set[A]]

    Permalink

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

    Permalink

  61. def filterNotPar[A](as: Set[A])(f: (A) ⇒ UIO[Boolean]): UIO[Set[A]]

    Permalink

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

    Permalink

  63. def filterPar[A](as: Set[A])(f: (A) ⇒ UIO[Boolean]): UIO[Set[A]]

    Permalink

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

    Permalink

  65. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  66. def firstSuccessOf[A](uio: UIO[A], rest: Iterable[UIO[A]]): UIO[A]

    Permalink

  67. def flatten[A](uio: UIO[UIO[A]]): UIO[A]

    Permalink

    See also

    See zio.ZIO.flatten

  68. def foldLeft[S, A](in: Iterable[A])(zero: S)(f: (S, A) ⇒ UIO[S]): UIO[S]

    Permalink

    See also

    See zio.ZIO.foldLeft

  69. def foldRight[S, A](in: Iterable[A])(zero: S)(f: (A, S) ⇒ UIO[S]): UIO[S]

    Permalink

    See also

    See zio.ZIO.foldRight

  70. def forall[A](as: Iterable[A])(f: (A) ⇒ UIO[Boolean]): UIO[Boolean]

    Permalink

    See also

    See zio.ZIO.forall

  71. def foreach[A, B](in: NonEmptyChunk[A])(f: (A) ⇒ UIO[B]): UIO[NonEmptyChunk[B]]

    Permalink

  72. def foreach[A, B](in: Option[A])(f: (A) ⇒ UIO[B]): UIO[Option[B]]

    Permalink

  73. def foreach[Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) ⇒ UIO[(Key2, Value2)]): UIO[Map[Key2, Value2]]

    Permalink

  74. def foreach[A, B](in: Array[A])(f: (A) ⇒ UIO[B])(implicit arg0: ClassTag[B]): UIO[Array[B]]

    Permalink

  75. def foreach[A, B](in: Set[A])(f: (A) ⇒ UIO[B]): UIO[Set[B]]

    Permalink

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

    Permalink

  77. def foreachDiscard[A](as: Iterable[A])(f: (A) ⇒ UIO[Any]): UIO[Unit]

    Permalink

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

    Permalink

    See also

    See zio.ZIO.foreachExec

  79. def foreachPar[A, B](as: NonEmptyChunk[A])(fn: (A) ⇒ UIO[B]): UIO[NonEmptyChunk[B]]

    Permalink

  80. def foreachPar[Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) ⇒ UIO[(Key2, Value2)]): UIO[Map[Key2, Value2]]

    Permalink

  81. def foreachPar[A, B](as: Array[A])(fn: (A) ⇒ UIO[B])(implicit arg0: ClassTag[B]): UIO[Array[B]]

    Permalink

  82. def foreachPar[A, B](as: Set[A])(fn: (A) ⇒ UIO[B]): UIO[Set[B]]

    Permalink

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

    Permalink

  84. def foreachParDiscard[A](as: Iterable[A])(f: (A) ⇒ UIO[Any]): UIO[Unit]

    Permalink

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

    Permalink

    See also

    See zio.ZIO.foreachParN

  86. def foreachParNDiscard[A](n: Int)(as: Iterable[A])(f: (A) ⇒ UIO[Any]): UIO[Unit]

    Permalink

  87. def forkAll[A, Collection[+Element] <: Iterable[Element]](as: Collection[UIO[A]])(implicit bf: zio.BuildFrom[Collection[UIO[A]], A, Collection[A]]): UIO[Fiber[Nothing, Collection[A]]]

    Permalink

    See also

    See zio.ZIO.forkAll

  88. def forkAllDiscard[A](as: Iterable[UIO[A]]): UIO[Unit]

    Permalink

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

    Permalink

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

  90. def fromEither[A](v: ⇒ Either[Nothing, A]): UIO[A]

    Permalink

    See also

    See zio.ZIO.fromEither

  91. def fromFiber[A](fiber: ⇒ Fiber[Nothing, A]): UIO[A]

    Permalink

    See also

    See zio.ZIO.fromFiber

  92. def fromFiberZIO[A](fiber: UIO[Fiber[Nothing, A]]): UIO[A]

    Permalink

  93. def fromFunction[A](f: (Any) ⇒ A): UIO[A]

    Permalink

  94. def fromFunctionEither[A](f: (Any) ⇒ Either[Nothing, A]): UIO[A]

    Permalink

  95. def fromFunctionZIO[A](f: (Any) ⇒ UIO[A]): UIO[A]

    Permalink

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

    Permalink
    Definition Classes
    AnyRef → Any
  97. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  98. def identity: UIO[Any]

    Permalink

  99. def ifZIO(b: UIO[Boolean]): IfZIO[Any, Nothing]

    Permalink

    See also

    zio.ZIO.ifZIO

  100. val interrupt: UIO[Nothing]

    Permalink

    See also

    See zio.ZIO.interrupt

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

    Permalink

    See also

    See zio.ZIO.interruptAs

  102. def interruptible[A](uio: UIO[A]): UIO[A]

    Permalink

  103. def interruptibleMask[A](k: (InterruptStatusRestore) ⇒ UIO[A]): UIO[A]

    Permalink

  104. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  105. def iterate[S](initial: S)(cont: (S) ⇒ Boolean)(body: (S) ⇒ UIO[S]): UIO[S]

    Permalink

    See also

    See zio.ZIO.iterate

  106. def left[A](a: ⇒ A): UIO[Either[A, Nothing]]

    Permalink

    See also

    See zio.ZIO.left

  107. def lock[A](executor: ⇒ Executor)(uio: UIO[A]): UIO[A]

    Permalink

    See also

    See zio.ZIO.lock

  108. def loop[A, S](initial: S)(cont: (S) ⇒ Boolean, inc: (S) ⇒ S)(body: (S) ⇒ UIO[A]): UIO[List[A]]

    Permalink

    See also

    See zio.ZIO.loop

  109. def loopDiscard[S](initial: S)(cont: (S) ⇒ Boolean, inc: (S) ⇒ S)(body: (S) ⇒ UIO[Any]): UIO[Unit]

    Permalink

    See also

    See zio.ZIO.loopDiscard

  110. def mapN[A, B, C, D, F](uio1: UIO[A], uio2: UIO[B], uio3: UIO[C], uio4: UIO[D])(f: (A, B, C, D) ⇒ F): UIO[F]

    Permalink

  111. def mapN[A, B, C, D](uio1: UIO[A], uio2: UIO[B], uio3: UIO[C])(f: (A, B, C) ⇒ D): UIO[D]

    Permalink

  112. def mapN[A, B, C](uio1: UIO[A], uio2: UIO[B])(f: (A, B) ⇒ C): UIO[C]

    Permalink

  113. def mapParN[A, B, C, D, F](uio1: UIO[A], uio2: UIO[B], uio3: UIO[C], uio4: UIO[D])(f: (A, B, C, D) ⇒ F): UIO[F]

    Permalink

  114. def mapParN[A, B, C, D](uio1: UIO[A], uio2: UIO[B], uio3: UIO[C])(f: (A, B, C) ⇒ D): UIO[D]

    Permalink

  115. def mapParN[A, B, C](uio1: UIO[A], uio2: UIO[B])(f: (A, B) ⇒ C): UIO[C]

    Permalink

  116. def memoize[A, B](f: (A) ⇒ UIO[B]): UIO[(A) ⇒ UIO[B]]

    Permalink

    See also

    See zio.ZIO.memoize

  117. def mergeAll[A, B](in: Iterable[UIO[A]])(zero: B)(f: (B, A) ⇒ B): UIO[B]

    Permalink

    See also

    See zio.ZIO.mergeAll

  118. def mergeAllPar[A, B](in: Iterable[UIO[A]])(zero: B)(f: (B, A) ⇒ B): UIO[B]

    Permalink

    See also

    See zio.ZIO.mergeAllPar

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

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

    Permalink

    See also

    See zio.ZIO.never

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

    Permalink

    See also

    See zio.ZIO.none

  122. def not(effect: UIO[Boolean]): UIO[Boolean]

    Permalink

    See also

    See zio.ZIO.not

  123. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  125. def raceAll[A](uio: UIO[A], uios: Iterable[UIO[A]]): UIO[A]

    Permalink

    See also

    See zio.ZIO.raceAll

  126. def reduceAll[A](a: UIO[A], as: Iterable[UIO[A]])(f: (A, A) ⇒ A): UIO[A]

    Permalink

    See also

    See zio.ZIO.reduceAll

  127. def reduceAllPar[A](a: UIO[A], as: Iterable[UIO[A]])(f: (A, A) ⇒ A): UIO[A]

    Permalink

  128. def replicate[A](n: Int)(effect: UIO[A]): Iterable[UIO[A]]

    Permalink

    See also

    See zio.ZIO.replicate

  129. def replicateZIO[A](n: Int)(effect: UIO[A]): UIO[Iterable[A]]

    Permalink

  130. def replicateZIODiscard[A](n: Int)(effect: UIO[A]): UIO[Unit]

    Permalink

  131. def reserve[A, B](reservation: UIO[Reservation[Any, Nothing, A]])(use: (A) ⇒ UIO[B]): UIO[B]

    Permalink

    See also

    See zio.ZIO.reserve

  132. def right[B](b: ⇒ B): UIO[Either[Nothing, B]]

    Permalink

    See also

    zio.ZIO.right

  133. def runtime: UIO[Runtime[Any]]

    Permalink

    See also

    See zio.ZIO.runtime

  134. def some[A](a: ⇒ A): UIO[Option[A]]

    Permalink

    See also

    zio.ZIO.some

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

    Permalink

    See also

    See zio.ZIO.succeed

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

    Permalink

  137. def suspendSucceed[A](uio: ⇒ UIO[A]): UIO[A]

    Permalink

  138. def suspendSucceedWith[A](p: (Platform, Id) ⇒ UIO[A]): UIO[A]

    Permalink

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

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

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

    Permalink

    See also

    See zio.ZIO.trace

  142. def traced[A](uio: UIO[A]): UIO[A]

    Permalink

    See also

    See zio.ZIO.traced

  143. def uninterruptible[A](uio: UIO[A]): UIO[A]

    Permalink

  144. def uninterruptibleMask[A](k: (InterruptStatusRestore) ⇒ UIO[A]): UIO[A]

    Permalink

  145. val unit: UIO[Unit]

    Permalink

    See also

    See zio.ZIO.unit

  146. def unless(b: ⇒ Boolean)(zio: ⇒ UIO[Any]): UIO[Unit]

    Permalink

    See also

    See zio.ZIO.unless

  147. def unlessZIO(b: UIO[Boolean]): UnlessZIO[Any, Nothing]

    Permalink

    See also

    See zio.ZIO.unlessZIO

  148. def unsandbox[A](v: IO[Cause[Nothing], A]): UIO[A]

    Permalink

  149. def untraced[A](uio: UIO[A]): UIO[A]

    Permalink

    See also

    See zio.ZIO.untraced

  150. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  153. def when(b: ⇒ Boolean)(uio: ⇒ UIO[Any]): UIO[Unit]

    Permalink

    See also

    See zio.ZIO.when

  154. def whenCase[A](a: ⇒ A)(pf: PartialFunction[A, UIO[Any]]): UIO[Unit]

    Permalink

    See also

    See zio.ZIO.whenCase

  155. def whenCaseZIO[A](a: UIO[A])(pf: PartialFunction[A, UIO[Any]]): UIO[Unit]

    Permalink

    See also

    See zio.ZIO.whenCaseZIO

  156. def whenZIO(b: UIO[Boolean]): WhenZIO[Any, Nothing]

    Permalink

    See also

    See zio.ZIO.whenZIO

  157. val yieldNow: UIO[Unit]

    Permalink

    See also

    See zio.ZIO.yieldNow

Deprecated Value Members

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use acquireReleaseWith

    See also

    See bracket zio.ZIO

  2. def bracket[A](acquire: UIO[A]): BracketAcquire[Any, Nothing, A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use acquireReleaseWith

    See also

    See bracket zio.ZIO

  3. def bracketExit[A, B](acquire: UIO[A], release: (A, Exit[Nothing, B]) ⇒ UIO[Any], use: (A) ⇒ UIO[B]): UIO[B]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use acquireReleaseExitWith

    See also

    See bracketExit zio.ZIO

  4. def bracketExit[A](acquire: UIO[A]): BracketExitAcquire[Any, Nothing, A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use acquireReleaseExitWith

    See also

    See bracketExit zio.ZIO

  5. def collectAllParN_[A](n: Int)(as: Iterable[UIO[A]]): UIO[Unit]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use collectAllParNDiscard

    See also

    See zio.ZIO.collectAllParN_

  6. def collectAllPar_[A](in: Iterable[UIO[A]]): UIO[Unit]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use collectAllParDiscard

    See also

    See zio.ZIO.collectAllPar_[R,E,A](as:Iterable*

  7. def collectAll_[A](in: Iterable[UIO[A]]): UIO[Unit]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use collectAllDiscard

    See also

    See zio.ZIO.collectAll_[R,E,A](in:Iterable*

  8. def effectAsync[A](register: ((UIO[A]) ⇒ Unit) ⇒ Any, blockingOn: Id = Fiber.Id.None): UIO[A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use async

    See also

    See zio.ZIO.effectAsync

  9. def effectAsyncInterrupt[A](register: ((UIO[A]) ⇒ Unit) ⇒ Either[Canceler[Any], UIO[A]], blockingOn: Id = Fiber.Id.None): UIO[A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use asyncInterrupt

    See also

    See zio.ZIO.effectAsyncInterrupt

  10. def effectAsyncM[A](register: ((UIO[A]) ⇒ Unit) ⇒ UIO[Any]): UIO[A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use asyncZIO

    See also

    See zio.ZIO.effectAsyncM

  11. def effectAsyncMaybe[A](register: ((UIO[A]) ⇒ Unit) ⇒ Option[UIO[A]], blockingOn: Id = Fiber.Id.None): UIO[A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use asyncMaybe

    See also

    See zio.ZIO.effectAsyncMaybe

  12. def effectSuspendTotal[A](uio: ⇒ UIO[A]): UIO[A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use suspendSucceed

    See also

    See zio.ZIO.effectSuspendTotal

  13. def effectSuspendTotalWith[A](p: (Platform, Id) ⇒ UIO[A]): UIO[A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use suspendSucceedWith

    See also

    See zio.ZIO.effectSuspendTotalWith

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use succeed

    See also

    See zio.ZIO.effectTotal

  15. def foreachParN_[A](n: Int)(as: Iterable[A])(f: (A) ⇒ UIO[Any]): UIO[Unit]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use foreachParNDiscard

    See also

    See zio.ZIO.foreachParN_

  16. def foreachPar_[A](as: Iterable[A])(f: (A) ⇒ UIO[Any]): UIO[Unit]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use foreachParDiscard

    See also

    See zio.ZIO.foreachPar_[R,E,A](as:Iterable*

  17. def foreach_[A](as: Iterable[A])(f: (A) ⇒ UIO[Any]): UIO[Unit]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use foreachDiscard

    See also

    See zio.ZIO.foreach_[R,E,A](as:Iterable*

  18. def forkAll_[A](as: Iterable[UIO[A]]): UIO[Unit]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use forkAllDiscard

    See also

    See zio.ZIO.forkAll_

  19. def fromFiberM[A](fiber: UIO[Fiber[Nothing, A]]): UIO[A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use fromFiberZIO

    See also

    See zio.ZIO.fromFiberM

  20. def fromFunctionM[A](f: (Any) ⇒ UIO[A]): UIO[A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use fromFunctionZIO

    See also

    zio.ZIO.fromFunctionM

  21. def halt(cause: ⇒ Cause[Nothing]): UIO[Nothing]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use failCause

    See also

    See zio.ZIO.halt

  22. def haltWith(function: (() ⇒ ZTrace) ⇒ Cause[Nothing]): UIO[Nothing]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use failCauseWith

    See also

    zio.ZIO.haltWith

  23. def ifM(b: UIO[Boolean]): IfZIO[Any, Nothing]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use ifZIO

    See also

    zio.ZIO.ifM

  24. def loop_[S](initial: S)(cont: (S) ⇒ Boolean, inc: (S) ⇒ S)(body: (S) ⇒ UIO[Any]): UIO[Unit]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use loopDiscard

    See also

    See zio.ZIO.loop_

  25. def replicateM[A](n: Int)(effect: UIO[A]): UIO[Iterable[A]]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use replicateZIO

    See also

    See zio.ZIO.replicateM

  26. def replicateM_[A](n: Int)(effect: UIO[A]): UIO[Unit]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use replicateZIODiscard

    See also

    See zio.ZIO.replicateM_

  27. def unlessM(b: UIO[Boolean]): UnlessZIO[Any, Nothing]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use unlessZIO

    See also

    See zio.ZIO.unlessM

  28. def whenCaseM[A](a: UIO[A])(pf: PartialFunction[A, UIO[Any]]): UIO[Unit]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use whenCaseZIO

    See also

    See zio.ZIO.whenCaseM

  29. def whenM(b: UIO[Boolean]): WhenZIO[Any, Nothing]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use whenZIO

    See also

    See zio.ZIO.whenM

Inherited from AnyRef

Inherited from Any

Ungrouped