o

zio

IO

object IO

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

Type Members

  1. final class BracketAcquire[E, A] extends AnyVal
  2. final class BracketAcquire_[E] extends AnyVal
  3. class BracketRelease[E, A] extends AnyRef
  4. class BracketRelease_[E] extends AnyRef

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[E, A](v: IO[E, Either[E, A]]): IO[E, A]

    See also

    See zio.ZIO.absolve

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

    See also

    See acquireReleaseExitWith zio.ZIO

  6. def acquireReleaseExitWith[E, A](acquire: IO[E, A]): BracketExitAcquire[Any, E, A]

    See also

    See acquireReleaseExitWith zio.ZIO

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

    See also

    See acquireReleaseWith zio.ZIO

  8. def acquireReleaseWith[E, A](acquire: IO[E, A]): BracketAcquire[E, A]

    See also

    See acquireReleaseWith zio.ZIO

  9. def allowInterrupt: UIO[Unit]

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

    See also

    See zio.ZIO.apply

  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def async[E, A](register: ((IO[E, A]) ⇒ Unit) ⇒ Any, blockingOn: Id = Fiber.Id.None): IO[E, A]

    See also

    See zio.ZIO.async

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

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

    See also

    See zio.ZIO.asyncMaybe

  15. def asyncZIO[E, A](register: ((IO[E, A]) ⇒ Unit) ⇒ IO[E, Any]): IO[E, A]

    See also

    See zio.ZIO.asyncZIO

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

    See also

    See zio.ZIO.attempt

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

  18. def attemptBlockingCancelable[A](effect: ⇒ A)(cancel: UIO[Unit]): Task[A]

  19. def attemptBlockingIO[A](effect: ⇒ A): IO[IOException, A]

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

  21. def blocking[E, A](zio: IO[E, A]): IO[E, A]

    See also

    See zio.ZIO.blocking

  22. def blockingExecutor: UIO[Executor]

  23. def checkInterruptible[E, A](f: (InterruptStatus) ⇒ IO[E, A]): IO[E, A]

  24. def checkTraced[E, A](f: (TracingStatus) ⇒ IO[E, A]): IO[E, A]

    See also

    See zio.ZIO.checkTraced

  25. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  26. def collect[E, A, B, Collection[+Element] <: Iterable[Element]](in: Collection[A])(f: (A) ⇒ IO[Option[E], B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]]): IO[E, Collection[B]]

    See also

    See zio.ZIO.collect

  27. def collectAll[E, A](in: NonEmptyChunk[IO[E, A]]): IO[E, NonEmptyChunk[A]]

  28. def collectAll[E, A](in: Array[IO[E, A]])(implicit arg0: ClassTag[A]): IO[E, Array[A]]

  29. def collectAll[E, A](in: Set[IO[E, A]]): IO[E, Set[A]]

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

  31. def collectAllDiscard[E, A](in: Iterable[IO[E, A]]): IO[E, Unit]

  32. def collectAllPar[E, A](as: NonEmptyChunk[IO[E, A]]): IO[E, NonEmptyChunk[A]]

  33. def collectAllPar[E, A](as: Array[IO[E, A]])(implicit arg0: ClassTag[A]): IO[E, Array[A]]

  34. def collectAllPar[E, A](as: Set[IO[E, A]]): IO[E, Set[A]]

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

  36. def collectAllParDiscard[E, A](in: Iterable[IO[E, A]]): IO[E, Unit]

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

  38. def collectAllParNDiscard[E, A](n: Int)(as: Iterable[IO[E, A]]): IO[E, Unit]

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

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

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

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

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

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

  45. def collectFirst[E, A, B](as: Iterable[A])(f: (A) ⇒ IO[E, Option[B]]): IO[E, Option[B]]

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

    See also

    See zio.ZIO.collectPar

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

    See also

    See zio.ZIO.collectParN

  48. def cond[E, A](predicate: Boolean, result: ⇒ A, error: ⇒ E): IO[E, A]

    See also

    See zio.ZIO.cond

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

    See also

    See zio.ZIO.debug

  50. def descriptor: UIO[Descriptor]

    See also

    See zio.ZIO.descriptor

  51. def descriptorWith[E, A](f: (Descriptor) ⇒ IO[E, A]): IO[E, A]

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

    See also

    See zio.ZIO.die

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

    See also

    See zio.ZIO.dieMessage

  54. def done[E, A](r: ⇒ Exit[E, A]): IO[E, A]

    See also

    See zio.ZIO.done

  55. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  56. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  57. def executor: UIO[Executor]

    See also

    See zio.ZIO.executor

  58. def exists[E, A](as: Iterable[A])(f: (A) ⇒ IO[E, Boolean]): IO[E, Boolean]

    See also

    See zio.ZIO.exists

  59. def fail[E](error: ⇒ E): IO[E, Nothing]

    See also

    See zio.ZIO.fail

  60. def failCause[E](cause: ⇒ Cause[E]): IO[E, Nothing]

    See also

    See zio.ZIO.failCause

  61. def failCauseWith[E](function: (() ⇒ ZTrace) ⇒ Cause[E]): IO[E, Nothing]

  62. val fiberId: UIO[Id]

  63. def filter[E, A](as: Set[A])(f: (A) ⇒ IO[E, Boolean]): IO[E, Set[A]]

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

  65. def filterNot[E, A](as: Set[A])(f: (A) ⇒ IO[E, Boolean]): IO[E, Set[A]]

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

  67. def filterNotPar[E, A](as: Set[A])(f: (A) ⇒ IO[E, Boolean]): IO[E, Set[A]]

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

  69. def filterPar[E, A](as: Set[A])(f: (A) ⇒ IO[E, Boolean]): IO[E, Set[A]]

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

  71. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  72. def firstSuccessOf[E, A](io: IO[E, A], rest: Iterable[IO[E, A]]): IO[E, A]

  73. def flatten[E, A](io: IO[E, IO[E, A]]): IO[E, A]

    See also

    See zio.ZIO.flatten

  74. def foldLeft[E, S, A](in: Iterable[A])(zero: S)(f: (S, A) ⇒ IO[E, S]): IO[E, S]

    See also

    See zio.ZIO.foldLeft

  75. def foldRight[E, S, A](in: Iterable[A])(zero: S)(f: (A, S) ⇒ IO[E, S]): IO[E, S]

    See also

    See zio.ZIO.foldRight

  76. def forall[E, A](as: Iterable[A])(f: (A) ⇒ IO[E, Boolean]): IO[E, Boolean]

    See also

    See zio.ZIO.forall

  77. def foreach[E, A, B](in: NonEmptyChunk[A])(f: (A) ⇒ IO[E, B]): IO[E, NonEmptyChunk[B]]

  78. def foreach[E, A, B](in: Option[A])(f: (A) ⇒ IO[E, B]): IO[E, Option[B]]

  79. def foreach[E, Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) ⇒ IO[E, (Key2, Value2)]): IO[E, Map[Key2, Value2]]

  80. def foreach[E, A, B](in: Array[A])(f: (A) ⇒ IO[E, B])(implicit arg0: ClassTag[B]): IO[E, Array[B]]

  81. def foreach[E, A, B](in: Set[A])(f: (A) ⇒ IO[E, B]): IO[E, Set[B]]

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

  83. def foreachDiscard[E, A](as: Iterable[A])(f: (A) ⇒ IO[E, Any]): IO[E, Unit]

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

    See also

    See zio.ZIO.foreachExec

  85. def foreachPar[E, A, B](as: NonEmptyChunk[A])(fn: (A) ⇒ IO[E, B]): IO[E, NonEmptyChunk[B]]

  86. def foreachPar[E, Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) ⇒ IO[E, (Key2, Value2)]): IO[E, Map[Key2, Value2]]

  87. def foreachPar[E, A, B](as: Array[A])(fn: (A) ⇒ IO[E, B])(implicit arg0: ClassTag[B]): IO[E, Array[B]]

  88. def foreachPar[E, A, B](as: Set[A])(fn: (A) ⇒ IO[E, B]): IO[E, Set[B]]

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

  90. def foreachParDiscard[E, A, B](as: Iterable[A])(f: (A) ⇒ IO[E, Any]): IO[E, Unit]

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

    See also

    See zio.ZIO.foreachParN

  92. def foreachParNDiscard[E, A, B](n: Int)(as: Iterable[A])(f: (A) ⇒ IO[E, Any]): IO[E, Unit]

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

    See also

    See zio.ZIO.forkAll

  94. def forkAllDiscard[E, A](as: Iterable[IO[E, A]]): UIO[Unit]

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

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

  96. def fromEither[E, A](v: ⇒ Either[E, A]): IO[E, A]

    See also

    See zio.ZIO.fromEither

  97. def fromFiber[E, A](fiber: ⇒ Fiber[E, A]): IO[E, A]

    See also

    See zio.ZIO.fromFiber

  98. def fromFiberZIO[E, A](fiber: IO[E, Fiber[E, A]]): IO[E, A]

  99. def fromFunction[A](f: (Any) ⇒ A): IO[Nothing, A]

  100. def fromFunctionEither[E, A](f: (Any) ⇒ Either[E, A]): IO[E, A]

  101. def fromFunctionFuture[A](f: (Any) ⇒ Future[A]): Task[A]

  102. def fromFunctionZIO[E, A](f: (Any) ⇒ IO[E, A]): IO[E, A]

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

    See also

    See zio.ZIO.fromFuture

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

  105. def fromOption[A](v: ⇒ Option[A]): IO[Option[Nothing], A]

    See also

    See zio.ZIO.fromOption

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

    See also

    See zio.ZIO.fromTry

  107. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  108. def getOrFailUnit[A](v: ⇒ Option[A]): IO[Unit, A]

  109. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  110. def identity: IO[Nothing, Any]

  111. def ifZIO[E](b: IO[E, Boolean]): IfZIO[Any, E]

    See also

    zio.ZIO.ifZIO

  112. val interrupt: UIO[Nothing]

    See also

    See zio.ZIO.interrupt

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

    See also

    See zio.ZIO.interruptAs

  114. def interruptible[E, A](io: IO[E, A]): IO[E, A]

  115. def interruptibleMask[E, A](k: (InterruptStatusRestore) ⇒ IO[E, A]): IO[E, A]

  116. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  117. def iterate[E, S](initial: S)(cont: (S) ⇒ Boolean)(body: (S) ⇒ IO[E, S]): IO[E, S]

    See also

    See zio.ZIO.iterate

  118. def left[E, A](a: ⇒ A): IO[E, Either[A, Nothing]]

    See also

    See zio.ZIO.left

  119. def lock[E, A](executor: ⇒ Executor)(io: IO[E, A]): IO[E, A]

    See also

    See zio.ZIO.lock

  120. def loop[E, A, S](initial: S)(cont: (S) ⇒ Boolean, inc: (S) ⇒ S)(body: (S) ⇒ IO[E, A]): IO[E, List[A]]

    See also

    See zio.ZIO.loop

  121. def loopDiscard[E, S](initial: S)(cont: (S) ⇒ Boolean, inc: (S) ⇒ S)(body: (S) ⇒ IO[E, Any]): IO[E, Unit]

    See also

    See zio.ZIO.loopDiscard

  122. def mapN[E, A, B, C, D, F](io1: IO[E, A], io2: IO[E, B], io3: IO[E, C], io4: IO[E, D])(f: (A, B, C, D) ⇒ F): IO[E, F]

  123. def mapN[E, A, B, C, D](io1: IO[E, A], io2: IO[E, B], io3: IO[E, C])(f: (A, B, C) ⇒ D): IO[E, D]

  124. def mapN[E, A, B, C](io1: IO[E, A], io2: IO[E, B])(f: (A, B) ⇒ C): IO[E, C]

  125. def mapParN[E, A, B, C, D, F](io1: IO[E, A], io2: IO[E, B], io3: IO[E, C], io4: IO[E, D])(f: (A, B, C, D) ⇒ F): IO[E, F]

  126. def mapParN[E, A, B, C, D](io1: IO[E, A], io2: IO[E, B], io3: IO[E, C])(f: (A, B, C) ⇒ D): IO[E, D]

  127. def mapParN[E, A, B, C](io1: IO[E, A], io2: IO[E, B])(f: (A, B) ⇒ C): IO[E, C]

  128. def memoize[E, A, B](f: (A) ⇒ IO[E, B]): UIO[(A) ⇒ IO[E, B]]

    See also

    See zio.ZIO.memoize

  129. def mergeAll[E, A, B](in: Iterable[IO[E, A]])(zero: B)(f: (B, A) ⇒ B): IO[E, B]

    See also

    See zio.ZIO.mergeAll

  130. def mergeAllPar[E, A, B](in: Iterable[IO[E, A]])(zero: B)(f: (B, A) ⇒ B): IO[E, B]

    See also

    See zio.ZIO.mergeAllPar

  131. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  132. val never: UIO[Nothing]

    See also

    See zio.ZIO.never

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

    See also

    See zio.ZIO.none

  134. def noneOrFail[E](o: Option[E]): IO[E, Unit]

    See also

    See zio.ZIO.noneOrFail

  135. def noneOrFailWith[E, O](o: Option[O])(f: (O) ⇒ E): IO[E, Unit]

  136. def not[E](effect: IO[E, Boolean]): IO[E, Boolean]

    See also

    See zio.ZIO.not

  137. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  138. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  139. def partition[E, A, B](in: Iterable[A])(f: (A) ⇒ IO[E, B])(implicit ev: CanFail[E]): UIO[(Iterable[E], Iterable[B])]

    See also

    See zio.ZIO.partition

  140. def partitionPar[E, A, B](in: Iterable[A])(f: (A) ⇒ IO[E, B])(implicit ev: CanFail[E]): UIO[(Iterable[E], Iterable[B])]

  141. def partitionParN[E, A, B](n: Int)(in: Iterable[A])(f: (A) ⇒ IO[E, B])(implicit ev: CanFail[E]): UIO[(Iterable[E], Iterable[B])]

  142. def raceAll[E, A](io: IO[E, A], ios: Iterable[IO[E, A]]): IO[E, A]

    See also

    See zio.ZIO.raceAll

  143. def reduceAll[E, A](a: IO[E, A], as: Iterable[IO[E, A]])(f: (A, A) ⇒ A): IO[E, A]

    See also

    See zio.ZIO.reduceAll

  144. def reduceAllPar[E, A](a: IO[E, A], as: Iterable[IO[E, A]])(f: (A, A) ⇒ A): IO[E, A]

  145. def replicate[E, A](n: Int)(effect: IO[E, A]): Iterable[IO[E, A]]

    See also

    See zio.ZIO.replicate

  146. def replicateZIO[E, A](n: Int)(effect: IO[E, A]): IO[E, Iterable[A]]

  147. def replicateZIODiscard[E, A](n: Int)(effect: IO[E, A]): IO[E, Unit]

  148. def require[E, A](error: ⇒ E): (IO[E, Option[A]]) ⇒ IO[E, A]

    See also

    See zio.ZIO.require

  149. def reserve[E, A, B](reservation: IO[E, Reservation[Any, E, A]])(use: (A) ⇒ IO[E, B]): IO[E, B]

    See also

    See zio.ZIO.reserve

  150. def right[E, B](b: ⇒ B): IO[E, Either[Nothing, B]]

    See also

    zio.ZIO.right

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

    See also

    See zio.ZIO.runtime

  152. def some[E, A](a: ⇒ A): IO[E, Option[A]]

    See also

    zio.ZIO.some

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

    See also

    See zio.ZIO.succeed

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

  155. def suspend[A](io: ⇒ IO[Throwable, A]): IO[Throwable, A]

  156. def suspendSucceed[E, A](io: ⇒ IO[E, A]): IO[E, A]

  157. def suspendSucceedWith[E, A](p: (Platform, Id) ⇒ IO[E, A]): IO[E, A]

  158. def suspendWith[A](p: (Platform, Id) ⇒ IO[Throwable, A]): IO[Throwable, A]

  159. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  160. def toString(): String
    Definition Classes
    AnyRef → Any
  161. def trace: UIO[ZTrace]

    See also

    See zio.ZIO.trace

  162. def traced[E, A](zio: IO[E, A]): IO[E, A]

    See also

    See zio.ZIO.traced

  163. def uninterruptible[E, A](io: IO[E, A]): IO[E, A]

  164. def uninterruptibleMask[E, A](k: (InterruptStatusRestore) ⇒ IO[E, A]): IO[E, A]

  165. val unit: UIO[Unit]

    See also

    See zio.ZIO.unit

  166. def unless[E](b: ⇒ Boolean)(zio: ⇒ IO[E, Any]): IO[E, Unit]

    See also

    See zio.ZIO.unless

  167. def unlessZIO[E](b: IO[E, Boolean]): UnlessZIO[Any, E]

    See also

    See zio.ZIO.unlessZIO

  168. def unsandbox[E, A](v: IO[Cause[E], A]): IO[E, A]

    See also

    See zio.ZIO.unsandbox

  169. def untraced[E, A](zio: IO[E, A]): IO[E, A]

    See also

    See zio.ZIO.untraced

  170. def validate[E, A, B](in: NonEmptyChunk[A])(f: (A) ⇒ IO[E, B])(implicit ev: CanFail[E]): IO[::[E], NonEmptyChunk[B]]

  171. def validate[E, A, B, Collection[+Element] <: Iterable[Element]](in: Collection[A])(f: (A) ⇒ IO[E, B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]], ev: CanFail[E]): IO[::[E], Collection[B]]

  172. def validateDiscard[E, A](in: Iterable[A])(f: (A) ⇒ IO[E, Any])(implicit ev: CanFail[E]): IO[::[E], Unit]

  173. def validateFirst[E, A, B, Collection[+Element] <: Iterable[Element]](in: Collection[A])(f: (A) ⇒ IO[E, B])(implicit bf: zio.BuildFrom[Collection[A], E, Collection[E]], ev: CanFail[E]): IO[Collection[E], B]

  174. def validateFirstPar[E, A, B, Collection[+Element] <: Iterable[Element]](in: Collection[A])(f: (A) ⇒ IO[E, B])(implicit bf: zio.BuildFrom[Collection[A], E, Collection[E]], ev: CanFail[E]): IO[Collection[E], B]

  175. def validatePar[E, A, B](in: NonEmptyChunk[A])(f: (A) ⇒ IO[E, B])(implicit ev: CanFail[E]): IO[::[E], NonEmptyChunk[B]]

  176. def validatePar[E, A, B, Collection[+Element] <: Iterable[Element]](in: Collection[A])(f: (A) ⇒ IO[E, B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]], ev: CanFail[E]): IO[::[E], Collection[B]]

  177. def validateParDiscard[E, A](in: Iterable[A])(f: (A) ⇒ IO[E, Any])(implicit ev: CanFail[E]): IO[::[E], Unit]

  178. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  179. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  180. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  181. def when[E](b: ⇒ Boolean)(io: ⇒ IO[E, Any]): IO[E, Unit]

    See also

    See zio.ZIO.when

  182. def whenCase[E, A](a: ⇒ A)(pf: PartialFunction[A, IO[E, Any]]): IO[E, Unit]

    See also

    See zio.ZIO.whenCase

  183. def whenCaseZIO[E, A](a: IO[E, A])(pf: PartialFunction[A, IO[E, Any]]): IO[E, Unit]

    See also

    See zio.ZIO.whenCaseZIO

  184. def whenZIO[E](b: IO[E, Boolean]): WhenZIO[Any, E]

    See also

    See zio.ZIO.whenZIO

  185. val yieldNow: UIO[Unit]

    See also

    See zio.ZIO.yieldNow

Deprecated Value Members

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

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use acquireReleaseWith

    See also

    See bracket zio.ZIO

  2. def bracket[E, A](acquire: IO[E, A]): BracketAcquire[E, A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use acquireReleaseWith

    See also

    See bracket zio.ZIO

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

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use acquireReleaseExitWith

    See also

    See bracketExit zio.ZIO

  4. def bracketExit[E, A](acquire: IO[E, A]): BracketExitAcquire[Any, E, A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use acquireReleaseExitWith

    See also

    See bracketExit zio.ZIO

  5. def collectAllParN_[E, A](n: Int)(as: Iterable[IO[E, A]]): IO[E, Unit]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use collectAllParNDiscard

    See also

    See zio.ZIO.collectAllParN_

  6. def collectAllPar_[E, A](in: Iterable[IO[E, A]]): IO[E, Unit]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use collectAllParDiscard

    See also

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

  7. def collectAll_[E, A](in: Iterable[IO[E, A]]): IO[E, Unit]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use collectAllDiscard

    See also

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

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

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use attempt

    See also

    See zio.ZIO.effect

  9. def effectAsync[E, A](register: ((IO[E, A]) ⇒ Unit) ⇒ Any, blockingOn: Id = Fiber.Id.None): IO[E, A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use async

    See also

    See zio.ZIO.effectAsync

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

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use asyncInterrupt

    See also

    See zio.ZIO.effectAsyncInterrupt

  11. def effectAsyncM[E, A](register: ((IO[E, A]) ⇒ Unit) ⇒ IO[E, Any]): IO[E, A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use asyncZIO

    See also

    See zio.ZIO.effectAsyncM

  12. def effectAsyncMaybe[E, A](register: ((IO[E, A]) ⇒ Unit) ⇒ Option[IO[E, A]], blockingOn: Id = Fiber.Id.None): IO[E, A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use asyncMaybe

    See also

    See zio.ZIO.effectAsyncMaybe

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

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use attemptBlocking

    See also

    See zio.ZIO.effectBlocking

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

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use attemptBlockingCancelable

    See also

    See zio.ZIO.effectBlockingCancelable

  15. def effectBlockingIO[A](effect: ⇒ A): IO[IOException, A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use attemptBlockingIO

    See also

    See zio.ZIO.effectBlockingIO

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

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use attemptBlockingInterrupt

    See also

    See zio.ZIO.effectBlockingInterrupt

  17. def effectSuspend[A](io: ⇒ IO[Throwable, A]): IO[Throwable, A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use suspend

    See also

    zio.ZIO.effectSuspend

  18. def effectSuspendTotal[E, A](io: ⇒ IO[E, A]): IO[E, A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use suspendSucceed

    See also

    See zio.ZIO.effectSuspendTotal

  19. def effectSuspendTotalWith[E, A](p: (Platform, Id) ⇒ IO[E, A]): IO[E, A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use suspendSucceedWith

    See also

    See zio.ZIO.effectSuspendTotalWith

  20. def effectSuspendWith[A](p: (Platform, Id) ⇒ IO[Throwable, A]): IO[Throwable, A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use suspendWith

    See also

    zio.ZIO.effectSuspendWith

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

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use succeed

    See also

    See zio.ZIO.effectTotal

  22. def foreachParN_[E, A, B](n: Int)(as: Iterable[A])(f: (A) ⇒ IO[E, Any]): IO[E, Unit]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use foreachParNDiscard

    See also

    See zio.ZIO.foreachParN_

  23. def foreachPar_[E, A, B](as: Iterable[A])(f: (A) ⇒ IO[E, Any]): IO[E, Unit]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use foreachParDiscard

    See also

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

  24. def foreach_[E, A](as: Iterable[A])(f: (A) ⇒ IO[E, Any]): IO[E, Unit]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use foreachDiscard

    See also

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

  25. def forkAll_[E, A](as: Iterable[IO[E, A]]): UIO[Unit]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use forkAllDiscard

    See also

    See zio.ZIO.forkAll_

  26. def fromFiberM[E, A](fiber: IO[E, Fiber[E, A]]): IO[E, A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use fromFiberZIO

    See also

    See zio.ZIO.fromFiberM

  27. def fromFunctionM[E, A](f: (Any) ⇒ IO[E, A]): IO[E, A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use fromFunctionZIO

    See also

    zio.ZIO.fromFunctionM

  28. def halt[E](cause: ⇒ Cause[E]): IO[E, Nothing]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use failCause

    See also

    See zio.ZIO.halt

  29. def haltWith[E](function: (() ⇒ ZTrace) ⇒ Cause[E]): IO[E, Nothing]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use failCauseWith

    See also

    See zio.ZIO.haltWith

  30. def ifM[E](b: IO[E, Boolean]): IfZIO[Any, E]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use ifZIO

    See also

    zio.ZIO.ifM

  31. def loop_[E, S](initial: S)(cont: (S) ⇒ Boolean, inc: (S) ⇒ S)(body: (S) ⇒ IO[E, Any]): IO[E, Unit]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use loopDiscard

    See also

    See zio.ZIO.loop_

  32. def replicateM[E, A](n: Int)(effect: IO[E, A]): IO[E, Iterable[A]]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use replicateZIO

    See also

    See zio.ZIO.replicateM

  33. def replicateM_[E, A](n: Int)(effect: IO[E, A]): IO[E, Unit]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use replicateZIODiscard

    See also

    See zio.ZIO.replicateM_

  34. def unlessM[E](b: IO[E, Boolean]): UnlessZIO[Any, E]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use unlessZIO

    See also

    See zio.ZIO.unlessM

  35. def validatePar_[E, A](in: Iterable[A])(f: (A) ⇒ IO[E, Any])(implicit ev: CanFail[E]): IO[::[E], Unit]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use validateParDiscard

    See also

    See zio.ZIO.validatePar_

  36. def validate_[E, A](in: Iterable[A])(f: (A) ⇒ IO[E, Any])(implicit ev: CanFail[E]): IO[::[E], Unit]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use validateDiscard

    See also

    See zio.ZIO.validate_

  37. def whenCaseM[E, A](a: IO[E, A])(pf: PartialFunction[A, IO[E, Any]]): IO[E, Unit]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use whenCaseZIO

    See also

    See zio.ZIO.whenCaseM

  38. def whenM[E](b: IO[E, Boolean]): WhenZIO[Any, E]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use whenZIO

    See also

    See zio.ZIO.whenM

Inherited from AnyRef

Inherited from Any

Ungrouped