object URIO
- Alphabetic
- By Inheritance
- URIO
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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[R, A](v: => URIO[R, Either[Nothing, A]]): URIO[R, A]
- See also
- def access[R]: AccessPartiallyApplied[R]
- See also
- def accessZIO[R]: AccessZIOPartiallyApplied[R]
- See also
- def acquireReleaseExitWith[R, A, B](acquire: => URIO[R, A], release: (A, Exit[Nothing, B]) => URIO[R, Any], use: (A) => URIO[R, B]): URIO[R, B]
- See also
acquireReleaseExitWith in zio.ZIO
- def acquireReleaseExitWith[R, A](acquire: => URIO[R, A]): BracketExitAcquire[R, Nothing, A]
- See also
acquireReleaseExitWith in zio.ZIO
- def acquireReleaseWith[R, A, B](acquire: => URIO[R, A], release: (A) => URIO[R, Any], use: (A) => URIO[R, B]): URIO[R, B]
- See also
acquireReleaseWith in zio.ZIO
- def acquireReleaseWith[R, A](acquire: => URIO[R, A]): BracketAcquire[R, Nothing, A]
- See also
acquireReleaseWith in zio.ZIO
- def allowInterrupt: UIO[Unit]
- See also
- def apply[A](a: => A): UIO[A]
- See also
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def async[R, A](register: ((URIO[R, A]) => Unit) => Any, blockingOn: => FiberId = FiberId.None): URIO[R, A]
- See also
- def asyncInterrupt[R, A](register: ((URIO[R, A]) => Unit) => Either[Canceler[R], URIO[R, A]], blockingOn: => FiberId = FiberId.None): URIO[R, A]
- See also
- def asyncMaybe[R, A](register: ((URIO[R, A]) => Unit) => Option[URIO[R, A]], blockingOn: => FiberId = FiberId.None): URIO[R, A]
- See also
- def asyncZIO[R, A](register: ((URIO[R, A]) => Unit) => URIO[R, Any]): URIO[R, A]
- See also
- def blocking[R, A](zio: => URIO[R, A]): URIO[R, A]
- See also
See zio.ZIO.blocking
- def blockingExecutor: UIO[Executor]
- See also
- def checkInterruptible[R, A](f: (InterruptStatus) => URIO[R, A]): URIO[R, A]
- See also
- def checkTraced[R, A](f: (TracingStatus) => URIO[R, A]): URIO[R, A]
- See also
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def collect[R, Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) => ZIO[R, Option[Nothing], (Key2, Value2)]): URIO[R, Map[Key2, Value2]]
- def collect[R, A, B, Collection[+Element] <: Iterable[Element]](in: Collection[A])(f: (A) => ZIO[R, Option[Nothing], B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]]): URIO[R, Collection[B]]
- def collectAll[R, A](in: NonEmptyChunk[URIO[R, A]]): URIO[R, NonEmptyChunk[A]]
- See also
- def collectAll[R, A](in: Option[URIO[R, A]]): URIO[R, Option[A]]
- See also
- def collectAll[R, A](in: Array[URIO[R, A]])(implicit arg0: ClassTag[A]): URIO[R, Array[A]]
- See also
- def collectAll[R, A](in: Set[URIO[R, A]]): URIO[R, Set[A]]
- See also
- def collectAll[R, A, Collection[+Element] <: Iterable[Element]](in: Collection[URIO[R, A]])(implicit bf: zio.BuildFrom[Collection[URIO[R, A]], A, Collection[A]]): URIO[R, Collection[A]]
- def collectAllDiscard[R, A](in: => Iterable[URIO[R, A]]): URIO[R, Unit]
- See also
- def collectAllPar[R, A](as: NonEmptyChunk[URIO[R, A]]): URIO[R, NonEmptyChunk[A]]
- def collectAllPar[R, A](as: Array[URIO[R, A]])(implicit arg0: ClassTag[A]): URIO[R, Array[A]]
- See also
- def collectAllPar[R, A](as: Set[URIO[R, A]]): URIO[R, Set[A]]
- See also
- def collectAllPar[R, A, Collection[+Element] <: Iterable[Element]](in: Collection[URIO[R, A]])(implicit bf: zio.BuildFrom[Collection[URIO[R, A]], A, Collection[A]]): URIO[R, Collection[A]]
- def collectAllParDiscard[R, A](in: => Iterable[URIO[R, A]]): URIO[R, Unit]
- See also
- def collectAllParN[R, A, Collection[+Element] <: Iterable[Element]](n: => Int)(as: Collection[URIO[R, A]])(implicit bf: zio.BuildFrom[Collection[URIO[R, A]], A, Collection[A]]): URIO[R, Collection[A]]
- See also
- def collectAllParNDiscard[R, A](n: => Int)(as: => Iterable[URIO[R, A]]): URIO[R, Unit]
- See also
- def collectAllSuccesses[R, A, Collection[+Element] <: Iterable[Element]](in: Collection[URIO[R, A]])(implicit bf: zio.BuildFrom[Collection[URIO[R, A]], A, Collection[A]]): URIO[R, Collection[A]]
- See also
- def collectAllSuccessesPar[R, A, Collection[+Element] <: Iterable[Element]](as: Collection[URIO[R, A]])(implicit bf: zio.BuildFrom[Collection[URIO[R, A]], A, Collection[A]]): URIO[R, Collection[A]]
- See also
- def collectAllSuccessesParN[R, A, Collection[+Element] <: Iterable[Element]](n: => Int)(as: Collection[URIO[R, A]])(implicit bf: zio.BuildFrom[Collection[URIO[R, A]], A, Collection[A]]): URIO[R, Collection[A]]
- See also
- def collectAllWith[R, A, B, Collection[+Element] <: Iterable[Element]](in: Collection[URIO[R, A]])(f: PartialFunction[A, B])(implicit bf: zio.BuildFrom[Collection[URIO[R, A]], B, Collection[B]]): URIO[R, Collection[B]]
- See also
- def collectAllWithPar[R, A, B, Collection[+Element] <: Iterable[Element]](as: Collection[URIO[R, A]])(f: PartialFunction[A, B])(implicit bf: zio.BuildFrom[Collection[URIO[R, A]], B, Collection[B]]): URIO[R, Collection[B]]
- See also
- def collectAllWithParN[R, A, B, Collection[+Element] <: Iterable[Element]](n: => Int)(as: Collection[URIO[R, A]])(f: PartialFunction[A, B])(implicit bf: zio.BuildFrom[Collection[URIO[R, A]], B, Collection[B]]): URIO[R, Collection[B]]
- See also
- def collectFirst[R, A, B](as: => Iterable[A])(f: (A) => URIO[R, Option[B]]): URIO[R, Option[B]]
- See also
- def collectPar[R, Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) => ZIO[R, Option[Nothing], (Key2, Value2)]): URIO[R, Map[Key2, Value2]]
- def collectPar[R, A, B, Collection[+Element] <: Iterable[Element]](in: Collection[A])(f: (A) => ZIO[R, Option[Nothing], B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]]): URIO[R, Collection[B]]
- def collectParN[R, A, B, Collection[+Element] <: Iterable[Element]](n: => Int)(in: Collection[A])(f: (A) => ZIO[R, Option[Nothing], B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]]): URIO[R, Collection[B]]
- See also
- def debug(value: => Any): UIO[Unit]
- See also
See zio.ZIO.debug
- def descriptor: UIO[Descriptor]
- See also
- def descriptorWith[R, A](f: (Descriptor) => URIO[R, A]): URIO[R, A]
- See also
- def die(t: => Throwable): UIO[Nothing]
- See also
- def dieMessage(message: => String): UIO[Nothing]
- See also
- def done[A](r: => Exit[Nothing, A]): UIO[A]
- See also
- def environment[R]: URIO[R, R]
- See also
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def executor: UIO[Executor]
- See also
See zio.ZIO.executor
- def exists[R, A](as: => Iterable[A])(f: (A) => URIO[R, Boolean]): URIO[R, Boolean]
- See also
See zio.ZIO.exists
- def failCause(cause: => Cause[Nothing]): UIO[Nothing]
- See also
- def failCauseWith[R](function: (() => ZTrace) => Cause[Nothing]): URIO[R, Nothing]
- See also
- val fiberId: UIO[FiberId]
- See also
- def filter[R, A](as: Set[A])(f: (A) => URIO[R, Boolean]): URIO[R, Set[A]]
- See also
- def filter[R, A, Collection[+Element] <: Iterable[Element]](as: Collection[A])(f: (A) => URIO[R, Boolean])(implicit bf: zio.BuildFrom[Collection[A], A, Collection[A]]): URIO[R, Collection[A]]
- See also
- def filterNot[R, A](as: Set[A])(f: (A) => URIO[R, Boolean]): URIO[R, Set[A]]
- See also
- def filterNot[R, A, Collection[+Element] <: Iterable[Element]](as: Collection[A])(f: (A) => URIO[R, Boolean])(implicit bf: zio.BuildFrom[Collection[A], A, Collection[A]]): URIO[R, Collection[A]]
- def filterNotPar[R, A](as: Set[A])(f: (A) => URIO[R, Boolean]): URIO[R, Set[A]]
- def filterNotPar[R, A, Collection[+Element] <: Iterable[Element]](as: Collection[A])(f: (A) => URIO[R, Boolean])(implicit bf: zio.BuildFrom[Collection[A], A, Collection[A]]): URIO[R, Collection[A]]
- def filterPar[R, A](as: Set[A])(f: (A) => URIO[R, Boolean]): URIO[R, Set[A]]
- See also
- def filterPar[R, A, Collection[+Element] <: Iterable[Element]](as: Collection[A])(f: (A) => URIO[R, Boolean])(implicit bf: zio.BuildFrom[Collection[A], A, Collection[A]]): URIO[R, Collection[A]]
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def firstSuccessOf[R, A](rio: => URIO[R, A], rest: => Iterable[URIO[R, A]]): URIO[R, A]
- See also
- def flatten[R, A](taskr: => URIO[R, URIO[R, A]]): URIO[R, A]
- See also
- def foldLeft[R, S, A](in: => Iterable[A])(zero: => S)(f: (S, A) => URIO[R, S]): URIO[R, S]
- See also
- def foldRight[R, S, A](in: => Iterable[A])(zero: => S)(f: (A, S) => URIO[R, S]): URIO[R, S]
- See also
- def forall[R, A](as: => Iterable[A])(f: (A) => URIO[R, Boolean]): URIO[R, Boolean]
- See also
See zio.ZIO.forall
- def foreach[R, A, B](in: NonEmptyChunk[A])(f: (A) => URIO[R, B]): URIO[R, NonEmptyChunk[B]]
- def foreach[R, A, B](in: Option[A])(f: (A) => URIO[R, B]): URIO[R, Option[B]]
- def foreach[R, Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) => URIO[R, (Key2, Value2)]): URIO[R, Map[Key2, Value2]]
- final def foreach[R, A, B](in: Array[A])(f: (A) => URIO[R, B])(implicit arg0: ClassTag[B]): URIO[R, Array[B]]
- final def foreach[R, A, B](in: Set[A])(f: (A) => URIO[R, B]): URIO[R, Set[B]]
- See also
- def foreach[R, A, B, Collection[+Element] <: Iterable[Element]](in: Collection[A])(f: (A) => URIO[R, B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]]): URIO[R, Collection[B]]
- def foreachDiscard[R, A](as: => Iterable[A])(f: (A) => URIO[R, Any]): URIO[R, Unit]
- See also
- final def foreachExec[R, A, B, Collection[+Element] <: Iterable[Element]](as: Collection[A])(exec: => ExecutionStrategy)(f: (A) => URIO[R, B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]]): URIO[R, Collection[B]]
- See also
- def foreachPar[R, A, B](as: NonEmptyChunk[A])(fn: (A) => URIO[R, B]): URIO[R, NonEmptyChunk[B]]
- def foreachPar[R, Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) => URIO[R, (Key2, Value2)]): URIO[R, Map[Key2, Value2]]
- final def foreachPar[R, A, B](as: Array[A])(fn: (A) => URIO[R, B])(implicit arg0: ClassTag[B]): URIO[R, Array[B]]
- final def foreachPar[R, A, B](as: Set[A])(fn: (A) => URIO[R, B]): URIO[R, Set[B]]
- def foreachPar[R, A, B, Collection[+Element] <: Iterable[Element]](as: Collection[A])(fn: (A) => URIO[R, B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]]): URIO[R, Collection[B]]
- def foreachParDiscard[R, A, B](as: => Iterable[A])(f: (A) => URIO[R, Any]): URIO[R, Unit]
- See also
- def foreachParN[R, A, B, Collection[+Element] <: Iterable[Element]](n: => Int)(as: Collection[A])(fn: (A) => URIO[R, B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]]): URIO[R, Collection[B]]
- See also
- def foreachParNDiscard[R, A, B](n: => Int)(as: => Iterable[A])(f: (A) => URIO[R, Any]): URIO[R, Unit]
- See also
- def forkAll[R, A, Collection[+Element] <: Iterable[Element]](as: Collection[URIO[R, A]])(implicit bf: zio.BuildFrom[Collection[URIO[R, A]], A, Collection[A]]): URIO[R, Fiber[Nothing, Collection[A]]]
- See also
- def forkAllDiscard[R, A](as: => Iterable[URIO[R, A]]): URIO[R, Unit]
- See also
- def from[Input](input: => Input)(implicit constructor: ZIOConstructor[Nothing, Nothing, Input]): ZIO[OutEnvironment, OutError, OutSuccess]
Constructs a
URIOvalue of the appropriate type for the specified input. - def fromEither[A](v: => Either[Nothing, A]): UIO[A]
- See also
- def fromFiber[A](fiber: => Fiber[Nothing, A]): UIO[A]
- See also
- def fromFiberZIO[A](fiber: => UIO[Fiber[Nothing, A]]): UIO[A]
- See also
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getState[S](implicit arg0: zio.Tag[S]): ZIO[Has[ZState[S]], Nothing, S]
- See also
- def getStateWith[S]: GetStateWithPartiallyApplied[S]
- See also
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def ifZIO[R](b: => URIO[R, Boolean]): IfZIO[R, Nothing]
- See also
- val infinity: URIO[Has[Clock], Nothing]
- See also
- val interrupt: UIO[Nothing]
- See also
- def interruptAs(fiberId: => FiberId): UIO[Nothing]
- See also
- def interruptible[R, A](taskr: => URIO[R, A]): URIO[R, A]
- See also
- def interruptibleMask[R, A](k: (InterruptStatusRestore) => URIO[R, A]): URIO[R, A]
- See also
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def iterate[R, S](initial: => S)(cont: (S) => Boolean)(body: (S) => URIO[R, S]): URIO[R, S]
- See also
See zio.ZIO.iterate
- def left[R, A](a: => A): URIO[R, Either[A, Nothing]]
- See also
- def loop[R, A, S](initial: => S)(cont: (S) => Boolean, inc: (S) => S)(body: (S) => URIO[R, A]): URIO[R, List[A]]
- See also
See zio.ZIO.loop
- def loopDiscard[R, S](initial: => S)(cont: (S) => Boolean, inc: (S) => S)(body: (S) => URIO[R, Any]): URIO[R, Unit]
- See also
- def memoize[R, A, B](f: (A) => URIO[R, B]): UIO[(A) => URIO[R, B]]
- See also
See zio.ZIO.memoize
- def mergeAll[R, A, B](in: => Iterable[URIO[R, A]])(zero: => B)(f: (B, A) => B): URIO[R, B]
- See also
- def mergeAllPar[R, A, B](in: => Iterable[URIO[R, A]])(zero: => B)(f: (B, A) => B): URIO[R, B]
- See also
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val never: UIO[Nothing]
- See also
- val none: UIO[Option[Nothing]]
- See also
- def not[R](effect: => URIO[R, Boolean]): URIO[R, 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[R, A](executor: => Executor)(taskr: URIO[R, A]): URIO[R, A]
- See also
- def provide[R, A](r: => R): (URIO[R, A]) => UIO[A]
- See also
- def raceAll[R, R1 <: R, A](taskr: => URIO[R, A], taskrs: => Iterable[URIO[R1, A]]): URIO[R1, A]
- See also
- def reduceAll[R, R1 <: R, A](a: => URIO[R, A], as: => Iterable[URIO[R1, A]])(f: (A, A) => A): URIO[R1, A]
- See also
- def reduceAllPar[R, R1 <: R, A](a: => URIO[R, A], as: => Iterable[URIO[R1, A]])(f: (A, A) => A): URIO[R1, A]
- See also
- def replicate[R, A](n: => Int)(effect: => URIO[R, A]): Iterable[URIO[R, A]]
- See also
- def replicateZIO[R, A](n: => Int)(effect: => URIO[R, A]): URIO[R, Iterable[A]]
- See also
- def replicateZIODiscard[R, A](n: => Int)(effect: => URIO[R, A]): URIO[R, Unit]
- See also
- def reserve[R, A, B](reservation: => URIO[R, Reservation[R, Nothing, A]])(use: (A) => URIO[R, B]): URIO[R, B]
- See also
- def right[R, B](b: => B): RIO[R, Either[Nothing, B]]
- See also
- def runtime[R]: URIO[R, Runtime[R]]
- See also
- val runtimeConfig: UIO[RuntimeConfig]
- See also
- def service[A](implicit arg0: zio.Tag[A]): URIO[Has[A], A]
- See also
See zio.ZIO.service
- def serviceAt[Service]: ServiceAtPartiallyApplied[Service]
- See also
- def serviceWith[Service]: ServiceWithPartiallyApplied[Service]
- See also
- def setState[S](s: => S)(implicit arg0: zio.Tag[S]): ZIO[Has[ZState[S]], Nothing, Unit]
- See also
- def sleep(duration: => zio.Duration): URIO[Has[Clock], Unit]
- See also
- def some[R, A](a: => A): URIO[R, Option[A]]
- See also
- def succeed[A](effect: => A): UIO[A]
- See also
- def succeedBlocking[A](a: => A): UIO[A]
- See also
- def suspendSucceed[R, A](rio: => URIO[R, A]): URIO[R, A]
- See also
- def suspendSucceedWith[R, A](f: (RuntimeConfig, FiberId) => URIO[R, A]): URIO[R, A]
- See also
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def trace: UIO[ZTrace]
- See also
- def traced[R, A](zio: => URIO[R, A]): URIO[R, A]
- See also
- def uninterruptible[R, A](taskr: => URIO[R, A]): URIO[R, A]
- See also
- def uninterruptibleMask[R, A](k: (InterruptStatusRestore) => URIO[R, A]): URIO[R, A]
- See also
- val unit: UIO[Unit]
- See also
- def unless[R, A](b: => Boolean)(zio: => URIO[R, A]): URIO[R, Option[A]]
- See also
See zio.ZIO.unless
- def unlessZIO[R](b: => URIO[R, Boolean]): UnlessZIO[R, Nothing]
- See also
- def unsandbox[R, A](v: => IO[Cause[Nothing], A]): URIO[R, A]
- See also
- def untraced[R, A](zio: => URIO[R, A]): URIO[R, A]
- See also
- def updateState[S](f: (S) => S)(implicit arg0: zio.Tag[S]): ZIO[Has[ZState[S]], Nothing, Unit]
- See also
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def when[R, A](b: => Boolean)(rio: => URIO[R, A]): URIO[R, Option[A]]
- See also
- def whenCase[R, A, B](a: => A)(pf: PartialFunction[A, URIO[R, B]]): URIO[R, Option[B]]
- See also
- def whenCaseZIO[R, A, B](a: => URIO[R, A])(pf: PartialFunction[A, URIO[R, B]]): URIO[R, Option[B]]
- See also
- def whenZIO[R](b: => URIO[R, Boolean]): WhenZIO[R, Nothing]
- See also
- def withRuntimeConfig[R, A](runtimeConfig: => RuntimeConfig)(urio: => URIO[R, A]): URIO[R, A]
- See also
- val yieldNow: UIO[Unit]
- See also
Deprecated Value Members
- def accessM[R]: AccessZIOPartiallyApplied[R]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use accessZIO
- See also
- def bracket[R, A, B](acquire: => URIO[R, A], release: (A) => URIO[R, Any], use: (A) => URIO[R, B]): URIO[R, B]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use acquireReleaseWith
- See also
bracket in zio.ZIO
- def bracket[R, A](acquire: => URIO[R, A]): BracketAcquire[R, Nothing, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use acquireReleaseWith
- See also
bracket in zio.ZIO
- def bracketExit[R, A, B](acquire: => URIO[R, A], release: (A, Exit[Nothing, B]) => URIO[R, Any], use: (A) => URIO[R, B]): URIO[R, B]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use acquireReleaseExitWith
- See also
bracketExit in zio.ZIO
- def bracketExit[R, A](acquire: => URIO[R, A]): BracketExitAcquire[R, Nothing, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use acquireReleaseExitWith
- See also
bracketExit in zio.ZIO
- def collectAllParN_[R, A](n: => Int)(as: => Iterable[URIO[R, A]]): URIO[R, Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use collectAllParNDiscard
- See also
- def collectAllPar_[R, A](in: => Iterable[URIO[R, A]]): URIO[R, Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use collectAllParDiscard
- See also
- def collectAll_[R, A](in: => Iterable[URIO[R, A]]): URIO[R, Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use collectAllDiscard
- See also
- def effectAsync[R, A](register: ((URIO[R, A]) => Unit) => Any, blockingOn: => FiberId = FiberId.None): URIO[R, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use async
- See also
- def effectAsyncInterrupt[R, A](register: ((URIO[R, A]) => Unit) => Either[Canceler[R], URIO[R, A]], blockingOn: => FiberId = FiberId.None): URIO[R, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use asyncInterrupt
- See also
- def effectAsyncM[R, A](register: ((URIO[R, A]) => Unit) => URIO[R, Any]): URIO[R, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use asyncZIO
- See also
- def effectAsyncMaybe[R, A](register: ((URIO[R, A]) => Unit) => Option[URIO[R, A]], blockingOn: => FiberId = FiberId.None): URIO[R, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use asyncMaybe
- See also
- def effectSuspendTotal[R, A](rio: => URIO[R, A]): URIO[R, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use suspendSucceed
- See also
- def effectSuspendTotalWith[R, A](p: (Platform, Id) => URIO[R, A]): URIO[R, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use suspendSucceedWith
- See also
- def effectTotal[A](effect: => A): UIO[A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use succeed
- See also
- def foreachParN_[R, A, B](n: => Int)(as: => Iterable[A])(f: (A) => URIO[R, Any]): URIO[R, Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use foreachParNDiscard
- See also
- def foreachPar_[R, A, B](as: => Iterable[A])(f: (A) => URIO[R, Any]): URIO[R, Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use foreachParDiscard
- See also
- def foreach_[R, A](as: => Iterable[A])(f: (A) => URIO[R, Any]): URIO[R, Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use foreachDiscard
- See also
- def forkAll_[R, A](as: => Iterable[URIO[R, A]]): URIO[R, Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use forkAllDiscard
- See also
- def fromFiberM[A](fiber: => UIO[Fiber[Nothing, A]]): UIO[A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use fromFiberZIO
- See also
- def fromFunction[R, A](f: (R) => A): URIO[R, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use access
- See also
- def fromFunctionM[R, A](f: (R) => UIO[A]): URIO[R, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use accessZIO
- See also
- def halt(cause: => Cause[Nothing]): UIO[Nothing]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use failCause
- See also
- def haltWith[R](function: (() => ZTrace) => Cause[Nothing]): URIO[R, Nothing]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use failCauseWith
- See also
- def ifM[R](b: => URIO[R, Boolean]): IfZIO[R, Nothing]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use ifZIO
- See also
- def lock[R, A](executor: => Executor)(taskr: => URIO[R, A]): URIO[R, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use onExecutor
- See also
- def loop_[R, S](initial: => S)(cont: (S) => Boolean, inc: (S) => S)(body: (S) => URIO[R, Any]): URIO[R, Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use loopDiscard
- See also
See zio.ZIO.loop_
- def mapN[R, A, B, C, D, F](urio1: => URIO[R, A], urio2: => URIO[R, B], urio3: => URIO[R, C], urio4: => URIO[R, D])(f: (A, B, C, D) => F): URIO[R, F]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use zip
- See also
- def mapN[R, A, B, C, D](urio1: => URIO[R, A], urio2: => URIO[R, B], urio3: => URIO[R, C])(f: (A, B, C) => D): URIO[R, D]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use zip
- See also
- def mapN[R, A, B, C](urio1: => URIO[R, A], urio2: => URIO[R, B])(f: (A, B) => C): URIO[R, C]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use zip
- See also
- def mapParN[R, A, B, C, D, F](urio1: => URIO[R, A], urio2: => URIO[R, B], urio3: => URIO[R, C], urio4: => URIO[R, D])(f: (A, B, C, D) => F): URIO[R, F]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use zipPar
- See also
- def mapParN[R, A, B, C, D](urio1: => URIO[R, A], urio2: => URIO[R, B], urio3: => URIO[R, C])(f: (A, B, C) => D): URIO[R, D]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use zipPar
- See also
- def mapParN[R, A, B, C](urio1: => URIO[R, A], urio2: => URIO[R, B])(f: (A, B) => C): URIO[R, C]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use zipPar
- See also
- def replicateM[R, A](n: => Int)(effect: => URIO[R, A]): URIO[R, Iterable[A]]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use replicateZIO
- See also
- def replicateM_[R, A](n: => Int)(effect: => URIO[R, A]): URIO[R, Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use replicateZIODiscard
- See also
- def services[A, B, C, D](implicit arg0: zio.Tag[A], arg1: zio.Tag[B], arg2: zio.Tag[C], arg3: zio.Tag[D]): URIO[Has[A] with Has[B] with Has[C] with Has[D], (A, B, C, D)]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use service
- See also
- def services[A, B, C](implicit arg0: zio.Tag[A], arg1: zio.Tag[B], arg2: zio.Tag[C]): URIO[Has[A] with Has[B] with Has[C], (A, B, C)]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use service
- See also
- def services[A, B](implicit arg0: zio.Tag[A], arg1: zio.Tag[B]): URIO[Has[A] with Has[B], (A, B)]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use service
- See also
- def unlessM[R](b: => URIO[R, Boolean]): UnlessZIO[R, Nothing]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use unlessZIO
- See also
See zio.ZIO.unlessM
- def whenCaseM[R, A, B](a: => URIO[R, A])(pf: PartialFunction[A, URIO[R, B]]): URIO[R, Option[B]]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use whenCaseZIO
- See also
- def whenM[R](b: => URIO[R, Boolean]): WhenZIO[R, Nothing]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use whenZIO
- See also