object RIO
- Alphabetic
- By Inheritance
- RIO
- 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: => RIO[R, Either[Throwable, A]])(implicit trace: ZTraceElement): RIO[R, A]
- See also
See zio.ZIO.absolve
- def acquireReleaseExitWith[R, A, B](acquire: => RIO[R, A], release: (A, Exit[Throwable, B]) => URIO[R, Any], use: (A) => RIO[R, B])(implicit trace: ZTraceElement): RIO[R, B]
- See also
See acquireReleaseExitWith zio.ZIO
- def acquireReleaseExitWith[R, A](acquire: => RIO[R, A]): AcquireExit[R, Throwable, A]
- See also
See acquireReleaseExitWith zio.ZIO
- def acquireReleaseWith[R, A, B](acquire: => RIO[R, A], release: (A) => URIO[R, Any], use: (A) => RIO[R, B])(implicit trace: ZTraceElement): RIO[R, B]
- See also
See acquireReleaseWith zio.ZIO
- def acquireReleaseWith[R, A](acquire: => RIO[R, A]): Acquire[R, Throwable, A]
- See also
See acquireReleaseWith zio.ZIO
- def allowInterrupt(implicit trace: ZTraceElement): UIO[Unit]
- See also
- def apply[A](a: => A)(implicit trace: ZTraceElement): Task[A]
- See also
See zio.ZIO.apply
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def async[R, A](register: ((RIO[R, A]) => Unit) => Any, blockingOn: => FiberId = FiberId.None)(implicit trace: ZTraceElement): RIO[R, A]
- See also
See zio.ZIO.async
- def asyncInterrupt[R, A](register: ((RIO[R, A]) => Unit) => Either[Canceler[R], RIO[R, A]], blockingOn: => FiberId = FiberId.None)(implicit trace: ZTraceElement): RIO[R, A]
- See also
- def asyncMaybe[R, A](register: ((RIO[R, A]) => Unit) => Option[RIO[R, A]], blockingOn: => FiberId = FiberId.None)(implicit trace: ZTraceElement): RIO[R, A]
- See also
- def asyncZIO[R, A](register: ((RIO[R, A]) => Unit) => RIO[R, Any])(implicit trace: ZTraceElement): RIO[R, A]
- See also
See zio.ZIO.asyncZIO
- def attempt[A](effect: => A)(implicit trace: ZTraceElement): Task[A]
- See also
See zio.ZIO.attempt
- def attemptBlocking[A](effect: => A)(implicit trace: ZTraceElement): Task[A]
- See also
- def attemptBlockingCancelable[A](effect: => A)(cancel: => UIO[Any])(implicit trace: ZTraceElement): Task[A]
- See also
- def attemptBlockingInterrupt[A](effect: => A)(implicit trace: ZTraceElement): Task[A]
- See also
- def blocking[R, A](zio: => RIO[R, A])(implicit trace: ZTraceElement): RIO[R, A]
- See also
See zio.ZIO.blocking
- def blockingExecutor(implicit trace: ZTraceElement): UIO[Executor]
- See also
- def checkInterruptible[R, A](f: (InterruptStatus) => RIO[R, A])(implicit trace: ZTraceElement): RIO[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[Throwable], (Key2, Value2)])(implicit trace: ZTraceElement): RIO[R, Map[Key2, Value2]]
- See also
- def collect[R, A, B, Collection[+Element] <: Iterable[Element]](in: Collection[A])(f: (A) => ZIO[R, Option[Throwable], B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]], trace: ZTraceElement): RIO[R, Collection[B]]
- def collectAll[R, A](in: NonEmptyChunk[RIO[R, A]])(implicit trace: ZTraceElement): RIO[R, NonEmptyChunk[A]]
- See also
- def collectAll[R, A](in: Option[RIO[R, A]])(implicit trace: ZTraceElement): RIO[R, Option[A]]
- See also
- def collectAll[R, A](in: Array[RIO[R, A]])(implicit arg0: ClassTag[A], trace: ZTraceElement): RIO[R, Array[A]]
- See also
- def collectAll[R, A](in: Set[RIO[R, A]])(implicit trace: ZTraceElement): RIO[R, Set[A]]
- See also
- def collectAll[R, A, Collection[+Element] <: Iterable[Element]](in: Collection[RIO[R, A]])(implicit bf: zio.BuildFrom[Collection[RIO[R, A]], A, Collection[A]], trace: ZTraceElement): RIO[R, Collection[A]]
- def collectAllDiscard[R, A](in: => Iterable[RIO[R, A]])(implicit trace: ZTraceElement): RIO[R, Unit]
- See also
- def collectAllPar[R, A](as: NonEmptyChunk[RIO[R, A]])(implicit trace: ZTraceElement): RIO[R, NonEmptyChunk[A]]
- See also
- def collectAllPar[R, A](as: Array[RIO[R, A]])(implicit arg0: ClassTag[A], trace: ZTraceElement): RIO[R, Array[A]]
- See also
- def collectAllPar[R, A](as: Set[RIO[R, A]])(implicit trace: ZTraceElement): RIO[R, Set[A]]
- See also
- def collectAllPar[R, A, Collection[+Element] <: Iterable[Element]](as: Collection[RIO[R, A]])(implicit bf: zio.BuildFrom[Collection[RIO[R, A]], A, Collection[A]], trace: ZTraceElement): RIO[R, Collection[A]]
- def collectAllParDiscard[R, A](in: => Iterable[RIO[R, A]])(implicit trace: ZTraceElement): RIO[R, Unit]
- See also
- def collectAllSuccesses[R, A, Collection[+Element] <: Iterable[Element]](in: Collection[RIO[R, A]])(implicit bf: zio.BuildFrom[Collection[RIO[R, A]], A, Collection[A]], trace: ZTraceElement): RIO[R, Collection[A]]
- See also
- def collectAllSuccessesPar[R, A, Collection[+Element] <: Iterable[Element]](as: Collection[RIO[R, A]])(implicit bf: zio.BuildFrom[Collection[RIO[R, A]], A, Collection[A]], trace: ZTraceElement): URIO[R, Collection[A]]
- See also
- def collectAllWith[R, A, B, Collection[+Element] <: Iterable[Element]](in: Collection[RIO[R, A]])(f: PartialFunction[A, B])(implicit bf: zio.BuildFrom[Collection[RIO[R, A]], B, Collection[B]], trace: ZTraceElement): RIO[R, Collection[B]]
- See also
- def collectAllWithPar[R, A, B, Collection[+Element] <: Iterable[Element]](as: Collection[RIO[R, A]])(f: PartialFunction[A, B])(implicit bf: zio.BuildFrom[Collection[RIO[R, A]], B, Collection[B]], trace: ZTraceElement): RIO[R, Collection[B]]
- See also
- def collectFirst[R, A, B](as: => Iterable[A])(f: (A) => RIO[R, Option[B]])(implicit trace: ZTraceElement): RIO[R, Option[B]]
- See also
- def collectPar[R, Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) => ZIO[R, Option[Throwable], (Key2, Value2)])(implicit trace: ZTraceElement): RIO[R, Map[Key2, Value2]]
- def collectPar[R, A, B, Collection[+Element] <: Iterable[Element]](in: Collection[A])(f: (A) => ZIO[R, Option[Throwable], B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]], trace: ZTraceElement): RIO[R, Collection[B]]
- def cond[A](predicate: => Boolean, result: => A, error: => Throwable)(implicit trace: ZTraceElement): Task[A]
- See also
See zio.ZIO.cond
- 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[R, A](f: (Descriptor) => RIO[R, A])(implicit trace: ZTraceElement): RIO[R, 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[Throwable, A])(implicit trace: ZTraceElement): Task[A]
- See also
See zio.ZIO.done
- def environment[R](implicit trace: ZTraceElement): URIO[R, ZEnvironment[R]]
- See also
- def environmentWith[R]: EnvironmentWithPartiallyApplied[R]
- See also
- def environmentWithZIO[R]: EnvironmentWithZIOPartiallyApplied[R]
- See also
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def executor(implicit trace: ZTraceElement): UIO[Executor]
- See also
See zio.ZIO.executor
- def exists[R, A](as: => Iterable[A])(f: (A) => RIO[R, Boolean])(implicit trace: ZTraceElement): RIO[R, Boolean]
- See also
See zio.ZIO.exists
- def fail(error: => Throwable)(implicit trace: ZTraceElement): Task[Nothing]
- See also
See zio.ZIO.fail
- def failCause(cause: => Cause[Throwable])(implicit trace: ZTraceElement): Task[Nothing]
- See also
- def fiberId(implicit trace: ZTraceElement): UIO[FiberId]
- See also
- def filter[R, A](as: Set[A])(f: (A) => RIO[R, Boolean])(implicit trace: ZTraceElement): RIO[R, Set[A]]
- See also
- def filter[R, A, Collection[+Element] <: Iterable[Element]](as: Collection[A])(f: (A) => RIO[R, Boolean])(implicit bf: zio.BuildFrom[Collection[A], A, Collection[A]], trace: ZTraceElement): RIO[R, Collection[A]]
- See also
- def filterNot[R, A](as: Set[A])(f: (A) => RIO[R, Boolean])(implicit trace: ZTraceElement): RIO[R, Set[A]]
- See also
- def filterNot[R, A, Collection[+Element] <: Iterable[Element]](as: Collection[A])(f: (A) => RIO[R, Boolean])(implicit bf: zio.BuildFrom[Collection[A], A, Collection[A]], trace: ZTraceElement): RIO[R, Collection[A]]
- See also
- def filterNotPar[R, A](as: Set[A])(f: (A) => RIO[R, Boolean])(implicit trace: ZTraceElement): RIO[R, Set[A]]
- See also
- def filterNotPar[R, A, Collection[+Element] <: Iterable[Element]](as: Collection[A])(f: (A) => RIO[R, Boolean])(implicit bf: zio.BuildFrom[Collection[A], A, Collection[A]], trace: ZTraceElement): RIO[R, Collection[A]]
- def filterPar[R, A](as: Set[A])(f: (A) => RIO[R, Boolean])(implicit trace: ZTraceElement): RIO[R, Set[A]]
- See also
- def filterPar[R, A, Collection[+Element] <: Iterable[Element]](as: Collection[A])(f: (A) => RIO[R, Boolean])(implicit bf: zio.BuildFrom[Collection[A], A, Collection[A]], trace: ZTraceElement): RIO[R, Collection[A]]
- See also
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def firstSuccessOf[R, A](rio: => RIO[R, A], rest: => Iterable[RIO[R, A]])(implicit trace: ZTraceElement): RIO[R, A]
- See also
- def flatten[R, A](taskr: => RIO[R, RIO[R, A]])(implicit trace: ZTraceElement): RIO[R, A]
- See also
See zio.ZIO.flatten
- def foldLeft[R, S, A](in: => Iterable[A])(zero: => S)(f: (S, A) => RIO[R, S])(implicit trace: ZTraceElement): RIO[R, S]
- See also
See zio.ZIO.foldLeft
- def foldRight[R, S, A](in: => Iterable[A])(zero: => S)(f: (A, S) => RIO[R, S])(implicit trace: ZTraceElement): RIO[R, S]
- See also
- def forall[R, A](as: => Iterable[A])(f: (A) => RIO[R, Boolean])(implicit trace: ZTraceElement): RIO[R, Boolean]
- See also
See zio.ZIO.forall
- def foreach[R, A, B](in: NonEmptyChunk[A])(f: (A) => RIO[R, B])(implicit trace: ZTraceElement): RIO[R, NonEmptyChunk[B]]
- See also
- def foreach[R, A, B](in: Option[A])(f: (A) => RIO[R, B])(implicit trace: ZTraceElement): RIO[R, Option[B]]
- See also
- def foreach[R, Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) => RIO[R, (Key2, Value2)])(implicit trace: ZTraceElement): RIO[R, Map[Key2, Value2]]
- See also
- def foreach[R, A, B](in: Array[A])(f: (A) => RIO[R, B])(implicit arg0: ClassTag[B], trace: ZTraceElement): RIO[R, Array[B]]
- See also
- def foreach[R, A, B](in: Set[A])(f: (A) => RIO[R, B])(implicit trace: ZTraceElement): RIO[R, Set[B]]
- See also
- def foreach[R, A, B, Collection[+Element] <: Iterable[Element]](in: Collection[A])(f: (A) => RIO[R, B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]], trace: ZTraceElement): RIO[R, Collection[B]]
- def foreachDiscard[R, A](as: => Iterable[A])(f: (A) => RIO[R, Any])(implicit trace: ZTraceElement): RIO[R, Unit]
- See also
- final def foreachExec[R, A, B, Collection[+Element] <: Iterable[Element]](as: Collection[A])(exec: => ExecutionStrategy)(f: (A) => RIO[R, B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]], trace: ZTraceElement): RIO[R, Collection[B]]
- See also
- def foreachPar[R, A, B](as: NonEmptyChunk[A])(fn: (A) => RIO[R, B])(implicit trace: ZTraceElement): RIO[R, NonEmptyChunk[B]]
- See also
- def foreachPar[R, Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) => RIO[R, (Key2, Value2)])(implicit trace: ZTraceElement): RIO[R, Map[Key2, Value2]]
- def foreachPar[R, A, B](as: Array[A])(fn: (A) => RIO[R, B])(implicit arg0: ClassTag[B], trace: ZTraceElement): RIO[R, Array[B]]
- See also
- def foreachPar[R, A, B](as: Set[A])(fn: (A) => RIO[R, B])(implicit trace: ZTraceElement): RIO[R, Set[B]]
- See also
- def foreachPar[R, A, B, Collection[+Element] <: Iterable[Element]](as: Collection[A])(fn: (A) => RIO[R, B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]], trace: ZTraceElement): RIO[R, Collection[B]]
- def foreachParDiscard[R, A, B](as: => Iterable[A])(f: (A) => RIO[R, Any])(implicit trace: ZTraceElement): RIO[R, Unit]
- See also
- def forkAll[R, A, Collection[+Element] <: Iterable[Element]](as: Collection[RIO[R, A]])(implicit bf: zio.BuildFrom[Collection[RIO[R, A]], A, Collection[A]], trace: ZTraceElement): URIO[R, Fiber[Throwable, Collection[A]]]
- See also
See zio.ZIO.forkAll
- def forkAllDiscard[R, A](as: => Iterable[RIO[R, A]])(implicit trace: ZTraceElement): URIO[R, Unit]
- See also
- def from[Input](input: => Input)(implicit constructor: ZIOConstructor[Nothing, Throwable, Input], trace: ZTraceElement): ZIO[OutEnvironment, OutError, OutSuccess]
Constructs a
RIO
value of the appropriate type for the specified input. - def fromEither[A](v: => Either[Throwable, A])(implicit trace: ZTraceElement): Task[A]
- See also
- def fromFiber[A](fiber: => Fiber[Throwable, A])(implicit trace: ZTraceElement): Task[A]
- See also
- def fromFiberZIO[A](fiber: => Task[Fiber[Throwable, A]])(implicit trace: ZTraceElement): Task[A]
- See also
- def fromFuture[A](make: (ExecutionContext) => Future[A])(implicit trace: ZTraceElement): Task[A]
- See also
- def fromFutureInterrupt[A](make: (ExecutionContext) => Future[A])(implicit trace: ZTraceElement): Task[A]
- See also
- def fromTry[A](value: => Try[A])(implicit trace: ZTraceElement): Task[A]
- See also
See zio.ZIO.fromTry
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getOrFail[A](v: => Option[A])(implicit trace: ZTraceElement): Task[A]
- See also
- def getState[S](implicit arg0: zio.EnvironmentTag[S], trace: ZTraceElement): ZIO[ZState[S], Nothing, S]
- See also
See zio.ZIO.getState
- def getStateWith[S]: GetStateWithPartiallyApplied[S]
- See also
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def ifZIO[R](b: => RIO[R, Boolean]): IfZIO[R, Throwable]
- See also
- def infinity(implicit trace: ZTraceElement): URIO[Clock, 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[R, A](taskr: => RIO[R, A])(implicit trace: ZTraceElement): RIO[R, A]
- See also
- def interruptibleMask[R, A](k: (InterruptStatusRestore) => RIO[R, A])(implicit trace: ZTraceElement): RIO[R, A]
- See also
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def iterate[R, S](initial: => S)(cont: (S) => Boolean)(body: (S) => RIO[R, S])(implicit trace: ZTraceElement): RIO[R, S]
- See also
See zio.ZIO.iterate
- def left[R, A](a: => A)(implicit trace: ZTraceElement): RIO[R, Either[A, Nothing]]
- See also
See zio.ZIO.left
- def loop[R, A, S](initial: => S)(cont: (S) => Boolean, inc: (S) => S)(body: (S) => RIO[R, A])(implicit trace: ZTraceElement): RIO[R, List[A]]
- See also
See zio.ZIO.loop
- def loopDiscard[R, S](initial: => S)(cont: (S) => Boolean, inc: (S) => S)(body: (S) => RIO[R, Any])(implicit trace: ZTraceElement): RIO[R, Unit]
- See also
- def memoize[R, A, B](f: (A) => RIO[R, B])(implicit trace: ZTraceElement): UIO[(A) => RIO[R, B]]
- See also
See zio.ZIO.memoize
- def mergeAll[R, A, B](in: => Iterable[RIO[R, A]])(zero: => B)(f: (B, A) => B)(implicit trace: ZTraceElement): RIO[R, B]
- See also
See zio.ZIO.mergeAll
- def mergeAllPar[R, A, B](in: => Iterable[RIO[R, A]])(zero: => B)(f: (B, A) => B)(implicit trace: ZTraceElement): RIO[R, 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 noneOrFail(o: => Option[Throwable])(implicit trace: ZTraceElement): RIO[Nothing, Unit]
- See also
- def noneOrFailWith[O](o: => Option[O])(f: (O) => Throwable)(implicit trace: ZTraceElement): RIO[Nothing, Unit]
- See also
- def not[R](effect: => RIO[R, Boolean])(implicit trace: ZTraceElement): RIO[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: RIO[R, A])(implicit trace: ZTraceElement): RIO[R, A]
- See also
- def partition[R, A, B](in: => Iterable[A])(f: (A) => RIO[R, B])(implicit trace: ZTraceElement): RIO[R, (Iterable[Throwable], Iterable[B])]
- See also
- def partitionPar[R, A, B](in: => Iterable[A])(f: (A) => RIO[R, B])(implicit trace: ZTraceElement): RIO[R, (Iterable[Throwable], Iterable[B])]
- See also
- def provideEnvironment[R, A](r: => ZEnvironment[R])(implicit trace: ZTraceElement): (RIO[R, A]) => Task[A]
- See also
See zio.ZIO.provide
- def raceAll[R, R1 <: R, A](taskr: => RIO[R, A], taskrs: => Iterable[RIO[R1, A]])(implicit trace: ZTraceElement): RIO[R1, A]
- See also
See zio.ZIO.raceAll
- def reduceAll[R, R1 <: R, A](a: => RIO[R, A], as: => Iterable[RIO[R1, A]])(f: (A, A) => A)(implicit trace: ZTraceElement): RIO[R1, A]
- See also
- def reduceAllPar[R, R1 <: R, A](a: => RIO[R, A], as: => Iterable[RIO[R1, A]])(f: (A, A) => A)(implicit trace: ZTraceElement): RIO[R1, A]
- See also
- def replicate[R, A](n: => Int)(effect: => RIO[R, A])(implicit trace: ZTraceElement): Iterable[RIO[R, A]]
- See also
- def replicateZIO[R, A](n: => Int)(effect: => RIO[R, A])(implicit trace: ZTraceElement): RIO[R, Iterable[A]]
- See also
- def replicateZIODiscard[R, A](n: => Int)(effect: => RIO[R, A])(implicit trace: ZTraceElement): RIO[R, Unit]
- See also
- def reserve[R, A, B](reservation: => RIO[R, Reservation[R, Throwable, A]])(use: (A) => RIO[R, B])(implicit trace: ZTraceElement): RIO[R, B]
- See also
See zio.ZIO.reserve
- def right[R, B](b: => B)(implicit trace: ZTraceElement): RIO[R, Either[Nothing, B]]
- See also
- def runtime[R](implicit trace: ZTraceElement): ZIO[R, Nothing, Runtime[R]]
- See also
See zio.ZIO.runtime
- def runtimeConfig(implicit trace: ZTraceElement): UIO[RuntimeConfig]
- See also
- def service[A](implicit arg0: Tag[A], trace: ZTraceElement): URIO[A, A]
- See also
See zio.ZIO.service
- def serviceAt[Service]: ServiceAtPartiallyApplied[Service]
- See also
- def serviceWith[Service]: ServiceWithPartiallyApplied[Service]
- See also
- def serviceWithZIO[Service]: ServiceWithZIOPartiallyApplied[Service]
- See also
- def setState[S](s: => S)(implicit arg0: zio.EnvironmentTag[S], trace: ZTraceElement): ZIO[ZState[S], Nothing, Unit]
- See also
See zio.ZIO.setState
- def sleep(duration: => zio.Duration)(implicit trace: ZTraceElement): RIO[Clock, Unit]
- See also
See zio.ZIO.sleep
- def some[R, A](a: => A)(implicit trace: ZTraceElement): RIO[R, 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 suspend[R, A](rio: => RIO[R, A])(implicit trace: ZTraceElement): RIO[R, A]
- See also
See zio.ZIO.suspend
- def suspendSucceed[R, A](rio: => RIO[R, A])(implicit trace: ZTraceElement): RIO[R, A]
- See also
- def suspendSucceedWith[R, A](p: (RuntimeConfig, FiberId) => RIO[R, A])(implicit trace: ZTraceElement): RIO[R, A]
- See also
- def suspendWith[R, A](p: (RuntimeConfig, FiberId) => RIO[R, A])(implicit trace: ZTraceElement): RIO[R, 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[R, A](taskr: => RIO[R, A])(implicit trace: ZTraceElement): RIO[R, A]
- See also
- def uninterruptibleMask[R, A](k: (InterruptStatusRestore) => RIO[R, A])(implicit trace: ZTraceElement): RIO[R, A]
- See also
- val unit: UIO[Unit]
- See also
See zio.ZIO.unit
- def unless[R, A](b: => Boolean)(zio: => RIO[R, A])(implicit trace: ZTraceElement): RIO[R, Option[A]]
- See also
See zio.ZIO.unless
- def unlessZIO[R](b: => RIO[R, Boolean]): UnlessZIO[R, Throwable]
- See also
- def unsandbox[R, A](v: => IO[Cause[Throwable], A])(implicit trace: ZTraceElement): RIO[R, A]
- See also
- def updateState[S](f: (S) => S)(implicit arg0: zio.EnvironmentTag[S], trace: ZTraceElement): ZIO[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: => RIO[R, A])(implicit trace: ZTraceElement): RIO[R, Option[A]]
- See also
See zio.ZIO.when
- def whenCase[R, A, B](a: => A)(pf: PartialFunction[A, RIO[R, B]])(implicit trace: ZTraceElement): RIO[R, Option[B]]
- See also
See zio.ZIO.whenCase
- def whenCaseZIO[R, A, B](a: => RIO[R, A])(pf: PartialFunction[A, RIO[R, B]])(implicit trace: ZTraceElement): RIO[R, Option[B]]
- See also
- def whenZIO[R](b: => RIO[R, Boolean]): WhenZIO[R, Throwable]
- See also
See zio.ZIO.whenZIO
- def withRuntimeConfig[R, A](runtimeConfig: => RuntimeConfig)(rio: => RIO[R, A])(implicit trace: ZTraceElement): RIO[R, A]
- See also
- def yieldNow(implicit trace: ZTraceElement): UIO[Unit]
- See also
See zio.ZIO.yieldNow
Deprecated Value Members
- def access[R]: EnvironmentWithPartiallyApplied[R]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use environmentWith
- See also
See zio.ZIO.access
- def accessM[R]: EnvironmentWithZIOPartiallyApplied[R]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use environmentWithZIO
- See also
See zio.ZIO.accessM
- def accessZIO[R]: EnvironmentWithZIOPartiallyApplied[R]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use environmentWithZIO
- See also
- def bracket[R, A, B](acquire: => RIO[R, A], release: (A) => URIO[R, Any], use: (A) => RIO[R, B])(implicit trace: ZTraceElement): RIO[R, B]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use acquireReleaseWith
- See also
See bracket zio.ZIO
- def bracket[R, A](acquire: => RIO[R, A]): Acquire[R, Throwable, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use acquireReleaseWith
- See also
See bracket zio.ZIO
- def bracketExit[R, A, B](acquire: => RIO[R, A], release: (A, Exit[Throwable, B]) => URIO[R, Any], use: (A) => RIO[R, B])(implicit trace: ZTraceElement): RIO[R, B]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use acquireReleaseExitWith
- See also
See bracketExit zio.ZIO
- def bracketExit[R, A](acquire: => RIO[R, A]): AcquireExit[R, Throwable, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use acquireReleaseExitWith
- See also
See bracketExit zio.ZIO
- def collectAllParN[R, A, Collection[+Element] <: Iterable[Element]](n: => Int)(as: Collection[RIO[R, A]])(implicit bf: zio.BuildFrom[Collection[RIO[R, A]], A, Collection[A]], trace: ZTraceElement): RIO[R, Collection[A]]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use collectAllPar
- See also
- def collectAllParNDiscard[R, A](n: => Int)(as: => Iterable[RIO[R, A]])(implicit trace: ZTraceElement): RIO[R, Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use collectAllParDiscard
- See also
- def collectAllParN_[R, A](n: => Int)(as: => Iterable[RIO[R, A]])(implicit trace: ZTraceElement): RIO[R, Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use collectAllParDiscard
- See also
- def collectAllPar_[R, A](in: => Iterable[RIO[R, A]])(implicit trace: ZTraceElement): RIO[R, Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use collectAllParDiscard
- See also
- def collectAllSuccessesParN[R, A, Collection[+Element] <: Iterable[Element]](n: => Int)(as: Collection[RIO[R, A]])(implicit bf: zio.BuildFrom[Collection[RIO[R, A]], A, Collection[A]], trace: ZTraceElement): URIO[R, Collection[A]]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use collectAllSuccessesPar
- See also
- def collectAllWithParN[R, A, B, Collection[+Element] <: Iterable[Element]](n: => Int)(as: Collection[RIO[R, A]])(f: PartialFunction[A, B])(implicit bf: zio.BuildFrom[Collection[RIO[R, A]], B, Collection[B]], trace: ZTraceElement): RIO[R, Collection[B]]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use collectAllWithPar
- See also
- def collectAll_[R, A](in: => Iterable[RIO[R, A]])(implicit trace: ZTraceElement): RIO[R, Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use collectAllDiscard
- See also
- def collectParN[R, A, B, Collection[+Element] <: Iterable[Element]](n: => Int)(in: Collection[A])(f: (A) => ZIO[R, Option[Throwable], B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]], trace: ZTraceElement): RIO[R, Collection[B]]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use collectPar
- See also
- def effect[A](effect: => A)(implicit trace: ZTraceElement): Task[A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use attempt
- See also
See zio.ZIO.effect
- def effectAsync[R, A](register: ((RIO[R, A]) => Unit) => Any, blockingOn: => FiberId = FiberId.None)(implicit trace: ZTraceElement): RIO[R, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use async
- See also
- def effectAsyncInterrupt[R, A](register: ((RIO[R, A]) => Unit) => Either[Canceler[R], RIO[R, A]], blockingOn: => FiberId = FiberId.None)(implicit trace: ZTraceElement): RIO[R, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use asyncInterrupt
- See also
- def effectAsyncM[R, A](register: ((RIO[R, A]) => Unit) => RIO[R, Any])(implicit trace: ZTraceElement): RIO[R, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use asyncZIO
- See also
- def effectAsyncMaybe[R, A](register: ((RIO[R, A]) => Unit) => Option[RIO[R, A]], blockingOn: => FiberId = FiberId.None)(implicit trace: ZTraceElement): RIO[R, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use asyncMaybe
- See also
- def effectBlocking[A](effect: => A)(implicit trace: ZTraceElement): Task[A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use attemptBlocking
- See also
- def effectBlockingCancelable[A](effect: => A)(cancel: => UIO[Any])(implicit trace: ZTraceElement): Task[A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use attemptBlockingCancelable
- See also
- def effectBlockingInterrupt[A](effect: => A)(implicit trace: ZTraceElement): Task[A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use attemptBlockingInterrupt
- See also
- def effectSuspend[R, A](rio: => RIO[R, A])(implicit trace: ZTraceElement): RIO[R, A]
Returns a lazily constructed effect, whose construction may itself require effects.
Returns a lazily constructed effect, whose construction may itself require effects. When no environment is required (i.e., when R == Any) it is conceptually equivalent to
flatten(effect(io))
.- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use suspend
- def effectSuspendTotal[R, A](rio: => RIO[R, A])(implicit trace: ZTraceElement): RIO[R, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use suspendSucceed
- See also
- def effectSuspendTotalWith[R, A](f: (Platform, Id) => RIO[R, A])(implicit trace: ZTraceElement): RIO[R, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use suspendSucceedWith
- See also
- def effectSuspendWith[R, A](f: (Platform, Id) => RIO[R, A])(implicit trace: ZTraceElement): RIO[R, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use suspendWith
- 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[R, A, B, Collection[+Element] <: Iterable[Element]](n: => Int)(as: Collection[A])(fn: (A) => RIO[R, B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]], trace: ZTraceElement): RIO[R, Collection[B]]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use foreachPar
- See also
- def foreachParNDiscard[R, A, B](n: => Int)(as: => Iterable[A])(f: (A) => RIO[R, Any])(implicit trace: ZTraceElement): RIO[R, Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use foreachParDiscard
- See also
- def foreachParN_[R, A, B](n: => Int)(as: => Iterable[A])(f: (A) => RIO[R, Any])(implicit trace: ZTraceElement): RIO[R, Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use foreachParDiscard
- See also
- def foreachPar_[R, A, B](as: => Iterable[A])(f: (A) => RIO[R, Any])(implicit trace: ZTraceElement): RIO[R, Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use foreachParDiscard
- See also
- def foreach_[R, A](as: => Iterable[A])(f: (A) => RIO[R, Any])(implicit trace: ZTraceElement): RIO[R, Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use foreachDiscard
- See also
See zio.ZIO.foreach_
- def forkAll_[R, A](as: => Iterable[RIO[R, A]])(implicit trace: ZTraceElement): URIO[R, Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use forkAllDiscard
- See also
See zio.ZIO.forkAll_
- def fromFiberM[A](fiber: => Task[Fiber[Throwable, A]])(implicit trace: ZTraceElement): Task[A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use fromFiberZIO
- See also
- def fromFunction[R, A](f: (ZEnvironment[R]) => A)(implicit trace: ZTraceElement): URIO[R, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use access
- See also
- def fromFunctionM[R, A](f: (ZEnvironment[R]) => Task[A])(implicit trace: ZTraceElement): RIO[R, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use environmentWithZIO
- See also
- def halt(cause: => Cause[Throwable])(implicit trace: ZTraceElement): Task[Nothing]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use failCause
- See also
See zio.ZIO.halt
- def ifM[R](b: => RIO[R, Boolean]): IfZIO[R, Throwable]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use ifZIO
- See also
- def lock[R, A](executor: => Executor)(taskr: => RIO[R, A])(implicit trace: ZTraceElement): RIO[R, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use onExecutor
- See also
See zio.ZIO.lock
- def loop_[R, S](initial: => S)(cont: (S) => Boolean, inc: (S) => S)(body: (S) => RIO[R, Any])(implicit trace: ZTraceElement): RIO[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](rio1: => RIO[R, A], rio2: => RIO[R, B], rio3: => RIO[R, C], rio4: => RIO[R, D])(f: (A, B, C, D) => F)(implicit trace: ZTraceElement): RIO[R, F]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use zip
- See also
- def mapN[R, A, B, C, D](rio1: => RIO[R, A], rio2: => RIO[R, B], rio3: => RIO[R, C])(f: (A, B, C) => D)(implicit trace: ZTraceElement): RIO[R, D]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use zip
- See also
- def mapN[R, A, B, C](rio1: => RIO[R, A], rio2: => RIO[R, B])(f: (A, B) => C)(implicit trace: ZTraceElement): RIO[R, C]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use zip
- See also
- def mapParN[R, A, B, C, D, F](rio1: => RIO[R, A], rio2: => RIO[R, B], rio3: => RIO[R, C], rio4: => RIO[R, D])(f: (A, B, C, D) => F)(implicit trace: ZTraceElement): RIO[R, F]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use zipPar
- See also
- def mapParN[R, A, B, C, D](rio1: => RIO[R, A], rio2: => RIO[R, B], rio3: => RIO[R, C])(f: (A, B, C) => D)(implicit trace: ZTraceElement): RIO[R, D]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use zipPar
- See also
- def mapParN[R, A, B, C](rio1: => RIO[R, A], rio2: => RIO[R, B])(f: (A, B) => C)(implicit trace: ZTraceElement): RIO[R, C]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use zipPar
- See also
- def partitionParN[R, A, B](n: => Int)(in: => Iterable[A])(f: (A) => RIO[R, B])(implicit trace: ZTraceElement): RIO[R, (Iterable[Throwable], Iterable[B])]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use partitionPar
- See also
- def replicateM[R, A](n: => Int)(effect: => RIO[R, A])(implicit trace: ZTraceElement): RIO[R, Iterable[A]]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use replicateZIO
- See also
- def replicateM_[R, A](n: => Int)(effect: => RIO[R, A])(implicit trace: ZTraceElement): RIO[R, Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use replicateZIODiscard
- See also
- def require[A](error: => Throwable)(implicit trace: ZTraceElement): (IO[Throwable, Option[A]]) => IO[Throwable, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use someOrFail
- See also
See zio.ZIO.require
- def services[A, B, C, D](implicit arg0: Tag[A], arg1: Tag[B], arg2: Tag[C], arg3: Tag[D], trace: ZTraceElement): URIO[A with B with C with D, (A, B, C, D)]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use service
- See also
- def services[A, B, C](implicit arg0: Tag[A], arg1: Tag[B], arg2: Tag[C], trace: ZTraceElement): URIO[A with B with C, (A, B, C)]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use service
- See also
- def services[A, B](implicit arg0: Tag[A], arg1: Tag[B], trace: ZTraceElement): URIO[A with B, (A, B)]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use service
- See also
- def unlessM[R](b: => RIO[R, Boolean]): UnlessZIO[R, Throwable]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use unlessZIO
- See also
See zio.ZIO.unlessM
- def whenCaseM[R, A, B](a: => RIO[R, A])(pf: PartialFunction[A, RIO[R, B]])(implicit trace: ZTraceElement): RIO[R, Option[B]]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use whenCaseZIO
- See also
- def whenM[R](b: => RIO[R, Boolean]): WhenZIO[R, Throwable]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use whenZIO
- See also
See zio.ZIO.whenM