Object

zio

IO

Related Doc: package zio

Permalink

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

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

    Permalink

    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]

    Permalink

    See also

    See acquireReleaseExitWith zio.ZIO

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

    Permalink

    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]

    Permalink

    See also

    See acquireReleaseWith zio.ZIO

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

    Permalink

    See also

    See acquireReleaseWith zio.ZIO

  9. def allowInterrupt: UIO[Unit]

    Permalink

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

    Permalink

    See also

    See zio.ZIO.apply

  11. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  12. def async[E, A](register: ((IO[E, A]) ⇒ Unit) ⇒ Any, blockingOn: ⇒ FiberId = FiberId.None): IO[E, A]

    Permalink

    See also

    See zio.ZIO.async

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.asyncMaybe

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

    Permalink

    See also

    See zio.ZIO.asyncZIO

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

    Permalink

    See also

    See zio.ZIO.attempt

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.blocking

  22. def blockingExecutor: UIO[Executor]

    Permalink

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.checkTraced

  25. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. def collect[E, Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) ⇒ IO[Option[E], (Key2, Value2)]): IO[E, Map[Key2, Value2]]

    Permalink

  27. 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]]

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

  31. 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]]

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

  38. 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]]

    Permalink

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

    Permalink

  40. 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]]

    Permalink

  41. 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]]

    Permalink

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

    Permalink

  43. 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]]

    Permalink

  44. 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]]

    Permalink

  45. 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]]

    Permalink

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

    Permalink

  47. def collectPar[E, Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) ⇒ IO[Option[E], (Key2, Value2)]): IO[E, Map[Key2, Value2]]

    Permalink

  48. 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]]

    Permalink

  49. 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]]

    Permalink

    See also

    See zio.ZIO.collectParN

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

    Permalink

    See also

    See zio.ZIO.cond

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

    Permalink

    See also

    See zio.ZIO.debug

  52. def descriptor: UIO[Descriptor]

    Permalink

    See also

    See zio.ZIO.descriptor

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.die

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

    Permalink

    See also

    See zio.ZIO.dieMessage

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

    Permalink

    See also

    See zio.ZIO.done

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

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

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

    Permalink

    See also

    See zio.ZIO.executor

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

    Permalink

    See also

    See zio.ZIO.exists

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

    Permalink

    See also

    See zio.ZIO.fail

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

    Permalink

    See also

    See zio.ZIO.failCause

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

    Permalink

  64. val fiberId: UIO[FiberId]

    Permalink

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

    Permalink

  66. 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]]

    Permalink

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

    Permalink

  68. 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]]

    Permalink

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

    Permalink

  70. 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]]

    Permalink

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

    Permalink

  72. 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]]

    Permalink

  73. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  74. def firstSuccessOf[E, A](io: ⇒ IO[E, A], rest: ⇒ Iterable[IO[E, A]]): IO[E, A]

    Permalink

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

    Permalink

    See also

    See zio.ZIO.flatten

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

    Permalink

    See also

    See zio.ZIO.foldLeft

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

    Permalink

    See also

    See zio.ZIO.foldRight

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

    Permalink

    See also

    See zio.ZIO.forall

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

  84. 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]]

    Permalink

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

    Permalink

  86. 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]]

    Permalink

    See also

    See zio.ZIO.foreachExec

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

  91. 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]]

    Permalink

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

    Permalink

  93. 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]]

    Permalink

    See also

    See zio.ZIO.foreachParN

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.forkAll

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

    Permalink

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

    Permalink

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

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

    Permalink

    See also

    See zio.ZIO.fromEither

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

    Permalink

    See also

    See zio.ZIO.fromFiber

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.fromFuture

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.fromOption

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

    Permalink

    See also

    See zio.ZIO.fromTry

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

    Permalink
    Definition Classes
    AnyRef → Any
  106. def getOrFailUnit[A](v: ⇒ Option[A]): IO[Unit, A]

    Permalink

  107. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  108. def ifZIO[E](b: ⇒ IO[E, Boolean]): IfZIO[Any, E]

    Permalink

    See also

    zio.ZIO.ifZIO

  109. val interrupt: UIO[Nothing]

    Permalink

    See also

    See zio.ZIO.interrupt

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

    Permalink

    See also

    See zio.ZIO.interruptAs

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

    Permalink

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

    Permalink

  113. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  114. def iterate[E, S](initial: ⇒ S)(cont: (S) ⇒ Boolean)(body: (S) ⇒ IO[E, S]): IO[E, S]

    Permalink

    See also

    See zio.ZIO.iterate

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

    Permalink

    See also

    See zio.ZIO.left

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

    Permalink

    See also

    See zio.ZIO.loop

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

    Permalink

    See also

    See zio.ZIO.loopDiscard

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

    Permalink

    See also

    See zio.ZIO.memoize

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

    Permalink

    See also

    See zio.ZIO.mergeAll

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

    Permalink

    See also

    See zio.ZIO.mergeAllPar

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

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

    Permalink

    See also

    See zio.ZIO.never

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

    Permalink

    See also

    See zio.ZIO.none

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

    Permalink

    See also

    See zio.ZIO.noneOrFail

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.not

  127. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  129. def onExecutor[E, A](executor: ⇒ Executor)(io: IO[E, A]): IO[E, A]

    Permalink

    See also

    See zio.ZIO.onExecutor

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

    Permalink

    See also

    See zio.ZIO.partition

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

    Permalink

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.raceAll

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

    Permalink

    See also

    See zio.ZIO.reduceAll

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.replicate

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

    Permalink

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.reserve

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

    Permalink

    See also

    zio.ZIO.right

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

    Permalink

    See also

    See zio.ZIO.runtime

  142. val runtimeConfig: UIO[RuntimeConfig]

    Permalink

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

    Permalink

    See also

    zio.ZIO.some

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

    Permalink

    See also

    See zio.ZIO.succeed

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

    Permalink

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

    Permalink

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

    Permalink

  148. def suspendSucceedWith[E, A](f: (RuntimeConfig, FiberId) ⇒ IO[E, A]): IO[E, A]

    Permalink

  149. def suspendWith[A](f: (RuntimeConfig, FiberId) ⇒ IO[Throwable, A]): IO[Throwable, A]

    Permalink

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

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

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

    Permalink

    See also

    See zio.ZIO.trace

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

    Permalink

    See also

    See zio.ZIO.traced

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

    Permalink

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

    Permalink

  156. val unit: UIO[Unit]

    Permalink

    See also

    See zio.ZIO.unit

  157. def unless[E, A](b: ⇒ Boolean)(zio: ⇒ IO[E, A]): IO[E, Option[A]]

    Permalink

    See also

    See zio.ZIO.unless

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

    Permalink

    See also

    See zio.ZIO.unlessZIO

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

    Permalink

    See also

    See zio.ZIO.unsandbox

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

    Permalink

    See also

    See zio.ZIO.untraced

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

    Permalink

  162. 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]]

    Permalink

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

    Permalink

  164. 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]

    Permalink

  165. 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]

    Permalink

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

    Permalink

  167. 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]]

    Permalink

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

    Permalink

  169. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  172. def when[E, A](b: ⇒ Boolean)(io: ⇒ IO[E, A]): IO[E, Option[A]]

    Permalink

    See also

    See zio.ZIO.when

  173. def whenCase[E, A, B](a: ⇒ A)(pf: PartialFunction[A, IO[E, B]]): IO[E, Option[B]]

    Permalink

    See also

    See zio.ZIO.whenCase

  174. def whenCaseZIO[E, A, B](a: ⇒ IO[E, A])(pf: PartialFunction[A, IO[E, B]]): IO[E, Option[B]]

    Permalink

    See also

    See zio.ZIO.whenCaseZIO

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

    Permalink

    See also

    See zio.ZIO.whenZIO

  176. def withRuntimeConfig[E, A](runtimeConfig: ⇒ RuntimeConfig)(io: ⇒ IO[E, A]): IO[E, A]

    Permalink

  177. val yieldNow: UIO[Unit]

    Permalink

    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]

    Permalink

    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[Any, E, A]

    Permalink

    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]

    Permalink

    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]

    Permalink

    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]

    Permalink

    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]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use collectAllParDiscard

    See also

    See zio.ZIO.collectAllPar_

  7. def collectAll_[E, A](in: ⇒ Iterable[IO[E, A]]): IO[E, 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[E, A](register: ((IO[E, A]) ⇒ Unit) ⇒ Any, blockingOn: ⇒ FiberId = FiberId.None): IO[E, A]

    Permalink

    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: ⇒ FiberId = FiberId.None): IO[E, A]

    Permalink

    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]

    Permalink

    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: ⇒ FiberId = FiberId.None): IO[E, 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 effectBlockingIO[A](effect: ⇒ A): IO[IOException, A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use attemptBlockingIO

    See also

    See zio.ZIO.effectBlockingIO

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

    Permalink

    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]

    Permalink

    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]

    Permalink

    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]

    Permalink

    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]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use suspendWith

    See also

    zio.ZIO.effectSuspendWith

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

    Permalink

    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]

    Permalink

    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]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use foreachParDiscard

    See also

    See zio.ZIO.foreachPar_

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use foreachDiscard

    See also

    See zio.ZIO.foreach_

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

    Permalink

    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]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use fromFiberZIO

    See also

    See zio.ZIO.fromFiberM

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use failCause

    See also

    See zio.ZIO.halt

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use failCauseWith

    See also

    See zio.ZIO.haltWith

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use ifZIO

    See also

    zio.ZIO.ifM

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use onExecutor

    See also

    See zio.ZIO.lock

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use loopDiscard

    See also

    See zio.ZIO.loop_

  32. 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]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zip

    See also

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

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zip

    See also

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

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zip

    See also

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

  35. 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]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zipPar

    See also

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

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zipPar

    See also

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

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zipPar

    See also

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

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use replicateZIO

    See also

    See zio.ZIO.replicateM

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use replicateZIODiscard

    See also

    See zio.ZIO.replicateM_

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use someOrFail

    See also

    See zio.ZIO.require

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use unlessZIO

    See also

    See zio.ZIO.unlessM

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use validateParDiscard

    See also

    See zio.ZIO.validatePar_

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use validateDiscard

    See also

    See zio.ZIO.validate_

  44. def whenCaseM[E, A, B](a: ⇒ IO[E, A])(pf: PartialFunction[A, IO[E, B]]): IO[E, Option[B]]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use whenCaseZIO

    See also

    See zio.ZIO.whenCaseM

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use whenZIO

    See also

    See zio.ZIO.whenM

Inherited from AnyRef

Inherited from Any

Ungrouped