object UIO
- Alphabetic
- By Inheritance
- UIO
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
absolve[A](v: ⇒ UIO[Either[Nothing, A]])(implicit trace: ZTraceElement): UIO[A]
- See also
See zio.ZIO.absolve
-
def
acquireReleaseExitWith[A, B](acquire: ⇒ UIO[A], release: (A, Exit[Nothing, B]) ⇒ UIO[Any], use: (A) ⇒ UIO[B])(implicit trace: ZTraceElement): UIO[B]
- See also
See acquireReleaseExitWith zio.ZIO
-
def
acquireReleaseExitWith[A](acquire: ⇒ UIO[A]): AcquireExit[Any, Nothing, A]
- See also
See acquireReleaseExitWith zio.ZIO
-
def
acquireReleaseWith[A, B](acquire: ⇒ UIO[A], release: (A) ⇒ UIO[Any], use: (A) ⇒ UIO[B])(implicit trace: ZTraceElement): UIO[B]
- See also
See acquireReleaseWith zio.ZIO
-
def
acquireReleaseWith[A](acquire: ⇒ UIO[A]): Acquire[Any, Nothing, A]
- See also
See acquireReleaseWith zio.ZIO
-
def
allowInterrupt(implicit trace: ZTraceElement): UIO[Unit]
- See also
-
def
apply[A](a: ⇒ A)(implicit trace: ZTraceElement): UIO[A]
- See also
See zio.ZIO.apply
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
async[A](register: ((UIO[A]) ⇒ Unit) ⇒ Any, blockingOn: ⇒ FiberId = FiberId.None)(implicit trace: ZTraceElement): UIO[A]
- See also
See zio.ZIO.async
-
def
asyncInterrupt[A](register: ((UIO[A]) ⇒ Unit) ⇒ Either[Canceler[Any], UIO[A]], blockingOn: ⇒ FiberId = FiberId.None)(implicit trace: ZTraceElement): UIO[A]
- See also
-
def
asyncMaybe[A](register: ((UIO[A]) ⇒ Unit) ⇒ Option[UIO[A]], blockingOn: ⇒ FiberId = FiberId.None)(implicit trace: ZTraceElement): UIO[A]
- See also
-
def
asyncZIO[A](register: ((UIO[A]) ⇒ Unit) ⇒ UIO[Any])(implicit trace: ZTraceElement): UIO[A]
- See also
See zio.ZIO.asyncZIO
-
def
blocking[A](zio: ⇒ UIO[A])(implicit trace: ZTraceElement): UIO[A]
- See also
See zio.ZIO.blocking
-
def
blockingExecutor(implicit trace: ZTraceElement): UIO[Executor]
- See also
-
def
checkInterruptible[A](f: (InterruptStatus) ⇒ UIO[A])(implicit trace: ZTraceElement): UIO[A]
- See also
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
collect[Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) ⇒ IO[Option[Nothing], (Key2, Value2)])(implicit trace: ZTraceElement): UIO[Map[Key2, Value2]]
- See also
- 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]], trace: ZTraceElement): UIO[Collection[B]]
-
def
collectAll[A](in: NonEmptyChunk[UIO[A]])(implicit trace: ZTraceElement): UIO[NonEmptyChunk[A]]
- See also
-
def
collectAll[A](in: Option[UIO[A]])(implicit trace: ZTraceElement): UIO[Option[A]]
- See also
-
def
collectAll[A](in: Array[UIO[A]])(implicit arg0: ClassTag[A], trace: ZTraceElement): UIO[Array[A]]
- See also
-
def
collectAll[A](in: Set[UIO[A]])(implicit trace: ZTraceElement): UIO[Set[A]]
- See also
- def collectAll[A, Collection[+Element] <: Iterable[Element]](in: Collection[UIO[A]])(implicit bf: zio.BuildFrom[Collection[UIO[A]], A, Collection[A]], trace: ZTraceElement): UIO[Collection[A]]
-
def
collectAllDiscard[A](in: ⇒ Iterable[UIO[A]])(implicit trace: ZTraceElement): UIO[Unit]
- See also
-
def
collectAllPar[A](as: NonEmptyChunk[UIO[A]])(implicit trace: ZTraceElement): UIO[NonEmptyChunk[A]]
- See also
-
def
collectAllPar[A](as: Array[UIO[A]])(implicit arg0: ClassTag[A], trace: ZTraceElement): UIO[Array[A]]
- See also
-
def
collectAllPar[A](as: Set[UIO[A]])(implicit trace: ZTraceElement): UIO[Set[A]]
- See also
- def collectAllPar[A, Collection[+Element] <: Iterable[Element]](as: Collection[UIO[A]])(implicit bf: zio.BuildFrom[Collection[UIO[A]], A, Collection[A]], trace: ZTraceElement): UIO[Collection[A]]
-
def
collectAllParDiscard[A](in: ⇒ Iterable[UIO[A]])(implicit trace: ZTraceElement): UIO[Unit]
- See also
-
def
collectAllSuccesses[A, Collection[+Element] <: Iterable[Element]](in: Collection[UIO[A]])(implicit bf: zio.BuildFrom[Collection[UIO[A]], A, Collection[A]], trace: ZTraceElement): UIO[Collection[A]]
- See also
-
def
collectAllSuccessesPar[A, Collection[+Element] <: Iterable[Element]](as: Collection[UIO[A]])(implicit bf: zio.BuildFrom[Collection[UIO[A]], A, Collection[A]], trace: ZTraceElement): UIO[Collection[A]]
- See also
-
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]], trace: ZTraceElement): UIO[Collection[B]]
- See also
-
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]], trace: ZTraceElement): UIO[Collection[B]]
- See also
-
def
collectFirst[A, B](as: ⇒ Iterable[A])(f: (A) ⇒ UIO[Option[B]])(implicit trace: ZTraceElement): UIO[Option[B]]
- See also
- def collectPar[Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) ⇒ IO[Option[Nothing], (Key2, Value2)])(implicit trace: ZTraceElement): UIO[Map[Key2, Value2]]
- 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]], trace: ZTraceElement): UIO[Collection[B]]
-
def
debug(value: ⇒ Any)(implicit trace: ZTraceElement): UIO[Unit]
- See also
See zio.ZIO.debug
-
def
descriptor(implicit trace: ZTraceElement): UIO[Descriptor]
- See also
-
def
descriptorWith[A](f: (Descriptor) ⇒ UIO[A])(implicit trace: ZTraceElement): UIO[A]
- See also
-
def
die(t: ⇒ Throwable)(implicit trace: ZTraceElement): UIO[Nothing]
- See also
See zio.ZIO.die
-
def
dieMessage(message: ⇒ String)(implicit trace: ZTraceElement): UIO[Nothing]
- See also
-
def
done[A](r: ⇒ Exit[Nothing, A])(implicit trace: ZTraceElement): UIO[A]
- See also
See zio.ZIO.done
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
executor(implicit trace: ZTraceElement): UIO[Executor]
- See also
See zio.ZIO.executor
-
def
exists[A](as: ⇒ Iterable[A])(f: (A) ⇒ UIO[Boolean])(implicit trace: ZTraceElement): UIO[Boolean]
- See also
See zio.ZIO.exists
-
def
failCause(cause: ⇒ Cause[Nothing])(implicit trace: ZTraceElement): UIO[Nothing]
- See also
-
def
fiberId(implicit trace: ZTraceElement): UIO[FiberId]
- See also
-
def
filter[A](as: Set[A])(f: (A) ⇒ UIO[Boolean])(implicit trace: ZTraceElement): UIO[Set[A]]
- See also
-
def
filter[A, Collection[+Element] <: Iterable[Element]](as: Collection[A])(f: (A) ⇒ UIO[Boolean])(implicit bf: zio.BuildFrom[Collection[A], A, Collection[A]], trace: ZTraceElement): UIO[Collection[A]]
- See also
-
def
filterNot[A](as: Set[A])(f: (A) ⇒ UIO[Boolean])(implicit trace: ZTraceElement): UIO[Set[A]]
- See also
-
def
filterNot[A, Collection[+Element] <: Iterable[Element]](as: Collection[A])(f: (A) ⇒ UIO[Boolean])(implicit bf: zio.BuildFrom[Collection[A], A, Collection[A]], trace: ZTraceElement): UIO[Collection[A]]
- See also
-
def
filterNotPar[A](as: Set[A])(f: (A) ⇒ UIO[Boolean])(implicit trace: ZTraceElement): UIO[Set[A]]
- See also
- def filterNotPar[A, Collection[+Element] <: Iterable[Element]](as: Collection[A])(f: (A) ⇒ UIO[Boolean])(implicit bf: zio.BuildFrom[Collection[A], A, Collection[A]], trace: ZTraceElement): UIO[Collection[A]]
-
def
filterPar[A](as: Set[A])(f: (A) ⇒ UIO[Boolean])(implicit trace: ZTraceElement): UIO[Set[A]]
- See also
-
def
filterPar[A, Collection[+Element] <: Iterable[Element]](as: Collection[A])(f: (A) ⇒ UIO[Boolean])(implicit bf: zio.BuildFrom[Collection[A], A, Collection[A]], trace: ZTraceElement): UIO[Collection[A]]
- See also
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
firstSuccessOf[A](uio: ⇒ UIO[A], rest: ⇒ Iterable[UIO[A]])(implicit trace: ZTraceElement): UIO[A]
- See also
-
def
flatten[A](uio: ⇒ UIO[UIO[A]])(implicit trace: ZTraceElement): UIO[A]
- See also
See zio.ZIO.flatten
-
def
foldLeft[S, A](in: ⇒ Iterable[A])(zero: ⇒ S)(f: (S, A) ⇒ UIO[S])(implicit trace: ZTraceElement): UIO[S]
- See also
See zio.ZIO.foldLeft
-
def
foldRight[S, A](in: ⇒ Iterable[A])(zero: ⇒ S)(f: (A, S) ⇒ UIO[S])(implicit trace: ZTraceElement): UIO[S]
- See also
-
def
forall[A](as: ⇒ Iterable[A])(f: (A) ⇒ UIO[Boolean])(implicit trace: ZTraceElement): UIO[Boolean]
- See also
See zio.ZIO.forall
-
def
foreach[A, B](in: NonEmptyChunk[A])(f: (A) ⇒ UIO[B])(implicit trace: ZTraceElement): UIO[NonEmptyChunk[B]]
- See also
-
def
foreach[A, B](in: Option[A])(f: (A) ⇒ UIO[B])(implicit trace: ZTraceElement): UIO[Option[B]]
- See also
-
def
foreach[Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) ⇒ UIO[(Key2, Value2)])(implicit trace: ZTraceElement): UIO[Map[Key2, Value2]]
- See also
-
def
foreach[A, B](in: Array[A])(f: (A) ⇒ UIO[B])(implicit arg0: ClassTag[B], trace: ZTraceElement): UIO[Array[B]]
- See also
-
def
foreach[A, B](in: Set[A])(f: (A) ⇒ UIO[B])(implicit trace: ZTraceElement): UIO[Set[B]]
- See also
- def foreach[A, B, Collection[+Element] <: Iterable[Element]](in: Collection[A])(f: (A) ⇒ UIO[B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]], trace: ZTraceElement): UIO[Collection[B]]
-
def
foreachDiscard[A](as: ⇒ Iterable[A])(f: (A) ⇒ UIO[Any])(implicit trace: ZTraceElement): UIO[Unit]
- See also
-
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]], trace: ZTraceElement): UIO[Collection[B]]
- See also
-
def
foreachPar[A, B](as: NonEmptyChunk[A])(fn: (A) ⇒ UIO[B])(implicit trace: ZTraceElement): UIO[NonEmptyChunk[B]]
- See also
- def foreachPar[Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) ⇒ UIO[(Key2, Value2)])(implicit trace: ZTraceElement): UIO[Map[Key2, Value2]]
-
def
foreachPar[A, B](as: Array[A])(fn: (A) ⇒ UIO[B])(implicit arg0: ClassTag[B], trace: ZTraceElement): UIO[Array[B]]
- See also
-
def
foreachPar[A, B](as: Set[A])(fn: (A) ⇒ UIO[B])(implicit trace: ZTraceElement): UIO[Set[B]]
- See also
- def foreachPar[A, B, Collection[+Element] <: Iterable[Element]](as: Collection[A])(fn: (A) ⇒ UIO[B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]], trace: ZTraceElement): UIO[Collection[B]]
-
def
foreachParDiscard[A](as: ⇒ Iterable[A])(f: (A) ⇒ UIO[Any])(implicit trace: ZTraceElement): UIO[Unit]
- See also
-
def
forkAll[A, Collection[+Element] <: Iterable[Element]](as: Collection[UIO[A]])(implicit bf: zio.BuildFrom[Collection[UIO[A]], A, Collection[A]], trace: ZTraceElement): UIO[Fiber[Nothing, Collection[A]]]
- See also
See zio.ZIO.forkAll
-
def
forkAllDiscard[A](as: ⇒ Iterable[UIO[A]])(implicit trace: ZTraceElement): UIO[Unit]
- See also
-
def
from[Input](input: ⇒ Input)(implicit constructor: ZIOConstructor[Any, Nothing, Input], trace: ZTraceElement): ZIO[OutEnvironment, OutError, OutSuccess]
Constructs a
UIO
value of the appropriate type for the specified input. -
def
fromEither[A](v: ⇒ Either[Nothing, A])(implicit trace: ZTraceElement): UIO[A]
- See also
-
def
fromFiber[A](fiber: ⇒ Fiber[Nothing, A])(implicit trace: ZTraceElement): UIO[A]
- See also
-
def
fromFiberZIO[A](fiber: ⇒ UIO[Fiber[Nothing, A]])(implicit trace: ZTraceElement): UIO[A]
- See also
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
ifZIO(b: ⇒ UIO[Boolean]): IfZIO[Any, Nothing]
- See also
-
def
interrupt(implicit trace: ZTraceElement): UIO[Nothing]
- See also
-
def
interruptAs(fiberId: ⇒ FiberId)(implicit trace: ZTraceElement): UIO[Nothing]
- See also
-
def
interruptible[A](uio: ⇒ UIO[A])(implicit trace: ZTraceElement): UIO[A]
- See also
-
def
interruptibleMask[A](k: (InterruptStatusRestore) ⇒ UIO[A])(implicit trace: ZTraceElement): UIO[A]
- See also
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
iterate[S](initial: ⇒ S)(cont: (S) ⇒ Boolean)(body: (S) ⇒ UIO[S])(implicit trace: ZTraceElement): UIO[S]
- See also
See zio.ZIO.iterate
-
def
left[A](a: ⇒ A)(implicit trace: ZTraceElement): UIO[Either[A, Nothing]]
- See also
See zio.ZIO.left
-
def
loop[A, S](initial: ⇒ S)(cont: (S) ⇒ Boolean, inc: (S) ⇒ S)(body: (S) ⇒ UIO[A])(implicit trace: ZTraceElement): UIO[List[A]]
- See also
See zio.ZIO.loop
-
def
loopDiscard[S](initial: ⇒ S)(cont: (S) ⇒ Boolean, inc: (S) ⇒ S)(body: (S) ⇒ UIO[Any])(implicit trace: ZTraceElement): UIO[Unit]
- See also
-
def
memoize[A, B](f: (A) ⇒ UIO[B])(implicit trace: ZTraceElement): UIO[(A) ⇒ UIO[B]]
- See also
See zio.ZIO.memoize
-
def
mergeAll[A, B](in: ⇒ Iterable[UIO[A]])(zero: ⇒ B)(f: (B, A) ⇒ B)(implicit trace: ZTraceElement): UIO[B]
- See also
See zio.ZIO.mergeAll
-
def
mergeAllPar[A, B](in: ⇒ Iterable[UIO[A]])(zero: ⇒ B)(f: (B, A) ⇒ B)(implicit trace: ZTraceElement): UIO[B]
- See also
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
never(implicit trace: ZTraceElement): UIO[Nothing]
- See also
See zio.ZIO.never
-
val
none: UIO[Option[Nothing]]
- See also
See zio.ZIO.none
-
def
not(effect: ⇒ UIO[Boolean])(implicit trace: ZTraceElement): UIO[Boolean]
- See also
See zio.ZIO.not
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
onExecutor[A](executor: ⇒ Executor)(uio: UIO[A])(implicit trace: ZTraceElement): UIO[A]
- See also
-
def
raceAll[A](uio: ⇒ UIO[A], uios: ⇒ Iterable[UIO[A]])(implicit trace: ZTraceElement): UIO[A]
- See also
See zio.ZIO.raceAll
-
def
reduceAll[A](a: ⇒ UIO[A], as: ⇒ Iterable[UIO[A]])(f: (A, A) ⇒ A)(implicit trace: ZTraceElement): UIO[A]
- See also
-
def
reduceAllPar[A](a: ⇒ UIO[A], as: ⇒ Iterable[UIO[A]])(f: (A, A) ⇒ A)(implicit trace: ZTraceElement): UIO[A]
- See also
-
def
replicate[A](n: ⇒ Int)(effect: ⇒ UIO[A])(implicit trace: ZTraceElement): Iterable[UIO[A]]
- See also
-
def
replicateZIO[A](n: ⇒ Int)(effect: ⇒ UIO[A])(implicit trace: ZTraceElement): UIO[Iterable[A]]
- See also
-
def
replicateZIODiscard[A](n: ⇒ Int)(effect: ⇒ UIO[A])(implicit trace: ZTraceElement): UIO[Unit]
- See also
-
def
reserve[A, B](reservation: ⇒ UIO[Reservation[Any, Nothing, A]])(use: (A) ⇒ UIO[B])(implicit trace: ZTraceElement): UIO[B]
- See also
See zio.ZIO.reserve
-
def
right[B](b: ⇒ B)(implicit trace: ZTraceElement): UIO[Either[Nothing, B]]
- See also
-
def
runtime(implicit trace: ZTraceElement): UIO[Runtime[Any]]
- See also
See zio.ZIO.runtime
-
def
runtimeConfig(implicit trace: ZTraceElement): UIO[RuntimeConfig]
- See also
-
def
some[A](a: ⇒ A)(implicit trace: ZTraceElement): UIO[Option[A]]
- See also
-
def
succeed[A](a: ⇒ A)(implicit trace: ZTraceElement): UIO[A]
- See also
See zio.ZIO.succeed
-
def
succeedBlocking[A](a: ⇒ A)(implicit trace: ZTraceElement): UIO[A]
- See also
-
def
suspendSucceed[A](uio: ⇒ UIO[A])(implicit trace: ZTraceElement): UIO[A]
- See also
-
def
suspendSucceedWith[A](f: (RuntimeConfig, FiberId) ⇒ UIO[A])(implicit trace: ZTraceElement): UIO[A]
- See also
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
trace(implicit trace: ZTraceElement): UIO[ZTrace]
- See also
See zio.ZIO.trace
-
def
uninterruptible[A](uio: ⇒ UIO[A])(implicit trace: ZTraceElement): UIO[A]
- See also
-
def
uninterruptibleMask[A](k: (InterruptStatusRestore) ⇒ UIO[A])(implicit trace: ZTraceElement): UIO[A]
- See also
-
val
unit: UIO[Unit]
- See also
See zio.ZIO.unit
-
def
unless[A](b: ⇒ Boolean)(zio: ⇒ UIO[A])(implicit trace: ZTraceElement): UIO[Option[A]]
- See also
See zio.ZIO.unless
-
def
unlessZIO(b: ⇒ UIO[Boolean]): UnlessZIO[Any, Nothing]
- See also
-
def
unsandbox[A](v: ⇒ IO[Cause[Nothing], A])(implicit trace: ZTraceElement): UIO[A]
- See also
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
when[A](b: ⇒ Boolean)(uio: ⇒ UIO[A])(implicit trace: ZTraceElement): UIO[Option[A]]
- See also
See zio.ZIO.when
-
def
whenCase[A, B](a: ⇒ A)(pf: PartialFunction[A, UIO[B]])(implicit trace: ZTraceElement): UIO[Option[B]]
- See also
See zio.ZIO.whenCase
-
def
whenCaseZIO[A, B](a: ⇒ UIO[A])(pf: PartialFunction[A, UIO[B]])(implicit trace: ZTraceElement): UIO[Option[B]]
- See also
-
def
whenZIO(b: ⇒ UIO[Boolean]): WhenZIO[Any, Nothing]
- See also
See zio.ZIO.whenZIO
-
def
withRuntimeConfig[A](runtimeConfig: ⇒ RuntimeConfig)(uio: ⇒ UIO[A])(implicit trace: ZTraceElement): UIO[A]
- See also
-
def
yieldNow(implicit trace: ZTraceElement): UIO[Unit]
- See also
See zio.ZIO.yieldNow
Deprecated Value Members
-
def
bracket[A, B](acquire: ⇒ UIO[A], release: (A) ⇒ UIO[Any], use: (A) ⇒ UIO[B])(implicit trace: ZTraceElement): UIO[B]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use acquireReleaseWith
- See also
See bracket zio.ZIO
-
def
bracket[A](acquire: ⇒ UIO[A]): Acquire[Any, Nothing, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use acquireReleaseWith
- See also
See bracket zio.ZIO
-
def
bracketExit[A, B](acquire: ⇒ UIO[A], release: (A, Exit[Nothing, B]) ⇒ UIO[Any], use: (A) ⇒ UIO[B])(implicit trace: ZTraceElement): UIO[B]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use acquireReleaseExitWith
- See also
See bracketExit zio.ZIO
-
def
bracketExit[A](acquire: ⇒ UIO[A]): AcquireExit[Any, Nothing, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use acquireReleaseExitWith
- See also
See bracketExit zio.ZIO
-
def
collectAllParN[A, Collection[+Element] <: Iterable[Element]](n: ⇒ Int)(as: Collection[UIO[A]])(implicit bf: zio.BuildFrom[Collection[UIO[A]], A, Collection[A]], trace: ZTraceElement): UIO[Collection[A]]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use collectAllPar
- See also
-
def
collectAllParNDiscard[A](n: ⇒ Int)(as: ⇒ Iterable[UIO[A]])(implicit trace: ZTraceElement): UIO[Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use collectAllParDiscard
- See also
-
def
collectAllParN_[A](n: ⇒ Int)(as: ⇒ Iterable[UIO[A]])(implicit trace: ZTraceElement): UIO[Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use collectAllDiscard
- See also
-
def
collectAllPar_[A](in: ⇒ Iterable[UIO[A]])(implicit trace: ZTraceElement): UIO[Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use collectAllParDiscard
- See also
-
def
collectAllSuccessesParN[A, Collection[+Element] <: Iterable[Element]](n: ⇒ Int)(as: Collection[UIO[A]])(implicit bf: zio.BuildFrom[Collection[UIO[A]], A, Collection[A]], trace: ZTraceElement): UIO[Collection[A]]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use collectAllSuccessesPar
- See also
-
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]], trace: ZTraceElement): UIO[Collection[B]]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use collectAllWithPar
- See also
-
def
collectAll_[A](in: ⇒ Iterable[UIO[A]])(implicit trace: ZTraceElement): UIO[Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use collectAllDiscard
- See also
-
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]], trace: ZTraceElement): UIO[Collection[B]]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use collectAllPar
- See also
-
def
effectAsync[A](register: ((UIO[A]) ⇒ Unit) ⇒ Any, blockingOn: ⇒ FiberId = FiberId.None)(implicit trace: ZTraceElement): UIO[A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use async
- See also
-
def
effectAsyncInterrupt[A](register: ((UIO[A]) ⇒ Unit) ⇒ Either[Canceler[Any], UIO[A]], blockingOn: ⇒ FiberId = FiberId.None)(implicit trace: ZTraceElement): UIO[A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use asyncInterrupt
- See also
-
def
effectAsyncM[A](register: ((UIO[A]) ⇒ Unit) ⇒ UIO[Any])(implicit trace: ZTraceElement): UIO[A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use asyncZIO
- See also
-
def
effectAsyncMaybe[A](register: ((UIO[A]) ⇒ Unit) ⇒ Option[UIO[A]], blockingOn: ⇒ FiberId = FiberId.None)(implicit trace: ZTraceElement): UIO[A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use asyncMaybe
- See also
-
def
effectSuspendTotal[A](uio: ⇒ UIO[A])(implicit trace: ZTraceElement): UIO[A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use suspendSucceed
- See also
-
def
effectSuspendTotalWith[A](p: (Platform, Id) ⇒ UIO[A])(implicit trace: ZTraceElement): UIO[A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use suspendSucceedWith
- See also
-
def
effectTotal[A](effect: ⇒ A)(implicit trace: ZTraceElement): UIO[A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use succeed
- See also
-
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]], trace: ZTraceElement): UIO[Collection[B]]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use foreachPar
- See also
-
def
foreachParNDiscard[A](n: ⇒ Int)(as: ⇒ Iterable[A])(f: (A) ⇒ UIO[Any])(implicit trace: ZTraceElement): UIO[Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use foreachParDiscard
- See also
-
def
foreachParN_[A](n: ⇒ Int)(as: ⇒ Iterable[A])(f: (A) ⇒ UIO[Any])(implicit trace: ZTraceElement): UIO[Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use foreachParDiscard
- See also
-
def
foreachPar_[A](as: ⇒ Iterable[A])(f: (A) ⇒ UIO[Any])(implicit trace: ZTraceElement): UIO[Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use foreachParDiscard
- See also
-
def
foreach_[A](as: ⇒ Iterable[A])(f: (A) ⇒ UIO[Any])(implicit trace: ZTraceElement): UIO[Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use foreachDiscard
- See also
See zio.ZIO.foreach_
-
def
forkAll_[A](as: ⇒ Iterable[UIO[A]])(implicit trace: ZTraceElement): UIO[Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use forkAllDiscard
- See also
See zio.ZIO.forkAll_
-
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
-
def
halt(cause: ⇒ Cause[Nothing])(implicit trace: ZTraceElement): UIO[Nothing]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use failCause
- See also
See zio.ZIO.halt
-
def
ifM(b: ⇒ UIO[Boolean]): IfZIO[Any, Nothing]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use ifZIO
- See also
-
def
lock[A](executor: ⇒ Executor)(uio: ⇒ UIO[A])(implicit trace: ZTraceElement): UIO[A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use onExecutor
- See also
See zio.ZIO.lock
-
def
loop_[S](initial: ⇒ S)(cont: (S) ⇒ Boolean, inc: (S) ⇒ S)(body: (S) ⇒ UIO[Any])(implicit trace: ZTraceElement): UIO[Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use loopDiscard
- See also
See zio.ZIO.loop_
-
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)(implicit trace: ZTraceElement): UIO[F]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use zip
- See also
-
def
mapN[A, B, C, D](uio1: ⇒ UIO[A], uio2: ⇒ UIO[B], uio3: ⇒ UIO[C])(f: (A, B, C) ⇒ D)(implicit trace: ZTraceElement): UIO[D]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use zip
- See also
-
def
mapN[A, B, C](uio1: ⇒ UIO[A], uio2: ⇒ UIO[B])(f: (A, B) ⇒ C)(implicit trace: ZTraceElement): UIO[C]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use zip
- See also
-
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)(implicit trace: ZTraceElement): UIO[F]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use zipPar
- See also
-
def
mapParN[A, B, C, D](uio1: ⇒ UIO[A], uio2: ⇒ UIO[B], uio3: ⇒ UIO[C])(f: (A, B, C) ⇒ D)(implicit trace: ZTraceElement): UIO[D]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use zipPar
- See also
-
def
mapParN[A, B, C](uio1: ⇒ UIO[A], uio2: ⇒ UIO[B])(f: (A, B) ⇒ C)(implicit trace: ZTraceElement): UIO[C]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use zipPar
- See also
-
def
replicateM[A](n: ⇒ Int)(effect: ⇒ UIO[A])(implicit trace: ZTraceElement): UIO[Iterable[A]]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use replicateZIO
- See also
-
def
replicateM_[A](n: ⇒ Int)(effect: ⇒ UIO[A])(implicit trace: ZTraceElement): UIO[Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use replicateZIODiscard
- See also
-
def
unlessM(b: ⇒ UIO[Boolean]): UnlessZIO[Any, Nothing]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use unlessZIO
- See also
See zio.ZIO.unlessM
-
def
whenCaseM[A, B](a: ⇒ UIO[A])(pf: PartialFunction[A, UIO[B]])(implicit trace: ZTraceElement): UIO[Option[B]]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use whenCaseZIO
- See also
-
def
whenM(b: ⇒ UIO[Boolean]): WhenZIO[Any, Nothing]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use whenZIO
- See also
See zio.ZIO.whenM