URIO

object URIO
class Object
trait Matchable
class Any
URIO.type

Value members

Concrete methods

def absolve[R, A](v: URIO[R, Either[Nothing, A]]): URIO[R, A]
See also:
def apply[A](a: => A): UIO[A]
See also:
def bracket[R, A](acquire: URIO[R, A]): BracketAcquire[R, Nothing, A]
See also:

bracket in zio.ZIO

def bracket[R, A, B](acquire: URIO[R, A], release: A => URIO[R, Any], use: A => URIO[R, B]): URIO[R, B]
See also:

bracket in zio.ZIO

def bracketExit[R, A](acquire: URIO[R, A]): BracketExitAcquire[R, Nothing, A]
See also:

bracketExit 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]
See also:

bracketExit in zio.ZIO

def checkTraced[R, A](f: TracingStatus => URIO[R, A]): URIO[R, A]
def collect[R, A, B, Collection <: (Iterable)](in: Collection[A])(f: A => ZIO[R, Option[Nothing], B])(implicit bf: BuildFrom[Collection[A], B, Collection[B]]): URIO[R, Collection[B]]
See also:
def collectAll[R, A, Collection <: (Iterable)](in: Collection[URIO[R, A]])(implicit bf: BuildFrom[Collection[URIO[R, A]], A, Collection[A]]): URIO[R, Collection[A]]
See also:
def collectAll[R, A](in: Set[URIO[R, A]]): URIO[R, Set[A]]
See also:
def collectAll[R, A : ClassTag](in: Array[URIO[R, A]]): URIO[R, Array[A]]
See also:
def collectAll[R, A](in: Option[URIO[R, A]]): URIO[R, Option[A]]
See also:
def collectAll[R, A](in: NonEmptyChunk[URIO[R, A]]): URIO[R, NonEmptyChunk[A]]
See also:
def collectAllPar[R, A, Collection <: (Iterable)](in: Collection[URIO[R, A]])(implicit bf: BuildFrom[Collection[URIO[R, A]], A, Collection[A]]): URIO[R, Collection[A]]
See also:
def collectAllPar[R, A](as: Set[URIO[R, A]]): URIO[R, Set[A]]
See also:
def collectAllPar[R, A : ClassTag](as: Array[URIO[R, A]]): URIO[R, Array[A]]
See also:
def collectAllPar[R, A](as: NonEmptyChunk[URIO[R, A]]): URIO[R, NonEmptyChunk[A]]
See also:
def collectAllParN[R, A, Collection <: (Iterable)](n: Int)(as: Collection[URIO[R, A]])(implicit bf: BuildFrom[Collection[URIO[R, A]], A, Collection[A]]): URIO[R, Collection[A]]
def collectAllParN_[R, A](n: Int)(as: Iterable[URIO[R, A]]): URIO[R, Unit]
def collectAllPar_[R, A](in: Iterable[URIO[R, A]]): URIO[R, Unit]
See also:
def collectAllSuccesses[R, A, Collection <: (Iterable)](in: Collection[URIO[R, A]])(implicit bf: BuildFrom[Collection[URIO[R, A]], A, Collection[A]]): URIO[R, Collection[A]]
def collectAllSuccessesPar[R, A, Collection <: (Iterable)](as: Collection[URIO[R, A]])(implicit bf: BuildFrom[Collection[URIO[R, A]], A, Collection[A]]): URIO[R, Collection[A]]
def collectAllSuccessesParN[R, A, Collection <: (Iterable)](n: Int)(as: Collection[URIO[R, A]])(implicit bf: BuildFrom[Collection[URIO[R, A]], A, Collection[A]]): URIO[R, Collection[A]]
def collectAllWith[R, A, B, Collection <: (Iterable)](in: Collection[URIO[R, A]])(f: PartialFunction[A, B])(implicit bf: BuildFrom[Collection[URIO[R, A]], B, Collection[B]]): URIO[R, Collection[B]]
def collectAllWithPar[R, A, B, Collection <: (Iterable)](as: Collection[URIO[R, A]])(f: PartialFunction[A, B])(implicit bf: BuildFrom[Collection[URIO[R, A]], B, Collection[B]]): URIO[R, Collection[B]]
def collectAllWithParN[R, A, B, Collection <: (Iterable)](n: Int)(as: Collection[URIO[R, A]])(f: PartialFunction[A, B])(implicit bf: BuildFrom[Collection[URIO[R, A]], B, Collection[B]]): URIO[R, Collection[B]]
def collectAll_[R, A](in: Iterable[URIO[R, A]]): URIO[R, Unit]
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, A, B, Collection <: (Iterable)](in: Collection[A])(f: A => ZIO[R, Option[Nothing], B])(implicit bf: BuildFrom[Collection[A], B, Collection[B]]): URIO[R, Collection[B]]
See also:
def collectParN[R, A, B, Collection <: (Iterable)](n: Int)(in: Collection[A])(f: A => ZIO[R, Option[Nothing], B])(implicit bf: BuildFrom[Collection[A], B, Collection[B]]): URIO[R, Collection[B]]
See also:
def debug(value: Any): UIO[Unit]
See also:
def descriptorWith[R, A](f: Descriptor => URIO[R, A]): URIO[R, A]
def die(t: => Throwable): UIO[Nothing]
See also:
def dieMessage(message: => String): UIO[Nothing]
def done[A](r: => Exit[Nothing, A]): UIO[A]
See also:
def effectAsync[R, A](register: URIO[R, A] => Unit => Any, blockingOn: List[Id]): URIO[R, A]
def effectAsyncInterrupt[R, A](register: URIO[R, A] => Unit => Either[Canceler[R], URIO[R, A]], blockingOn: List[Id]): URIO[R, A]
def effectAsyncM[R, A](register: URIO[R, A] => Unit => URIO[R, Any]): URIO[R, A]
def effectAsyncMaybe[R, A](register: URIO[R, A] => Unit => Option[URIO[R, A]], blockingOn: List[Id]): URIO[R, A]
def effectSuspendTotal[R, A](rio: => URIO[R, A]): URIO[R, A]
def effectSuspendTotalWith[R, A](p: (Platform, Id) => URIO[R, A]): URIO[R, A]
def effectTotal[A](effect: => A): UIO[A]
def environment[R]: URIO[R, R]
def exists[R, A](as: Iterable[A])(f: A => URIO[R, Boolean]): URIO[R, Boolean]
See also:
def filter[R, A, Collection <: (Iterable)](as: Collection[A])(f: A => URIO[R, Boolean])(implicit bf: BuildFrom[Collection[A], A, Collection[A]]): URIO[R, Collection[A]]
See also:

[[zio.ZIO.filter[R,E,A,Collection*]]

def filter[R, A](as: Set[A])(f: A => URIO[R, Boolean]): URIO[R, Set[A]]
See also:
def filterNot[R, A, Collection <: (Iterable)](as: Collection[A])(f: A => URIO[R, Boolean])(implicit bf: BuildFrom[Collection[A], A, Collection[A]]): URIO[R, Collection[A]]
See also:

[[zio.ZIO.filterNot[R,E,A,Collection*]]

def filterNot[R, A](as: Set[A])(f: A => URIO[R, Boolean]): URIO[R, Set[A]]
See also:
def filterNotPar[R, A, Collection <: (Iterable)](as: Collection[A])(f: A => URIO[R, Boolean])(implicit bf: BuildFrom[Collection[A], A, Collection[A]]): URIO[R, Collection[A]]
See also:

[[zio.ZIO.filterNotPar[R,E,A,Collection*]]

def filterNotPar[R, A](as: Set[A])(f: A => URIO[R, Boolean]): URIO[R, Set[A]]
def filterPar[R, A, Collection <: (Iterable)](as: Collection[A])(f: A => URIO[R, Boolean])(implicit bf: BuildFrom[Collection[A], A, Collection[A]]): URIO[R, Collection[A]]
See also:

[[zio.ZIO.filterPar[R,E,A,Collection*]]

def filterPar[R, A](as: Set[A])(f: A => URIO[R, Boolean]): URIO[R, Set[A]]
See also:
def first[A]: URIO[(A, Any), A]
See also:
def firstSuccessOf[R, A](rio: URIO[R, A], rest: Iterable[URIO[R, A]]): URIO[R, A]
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]
def foldRight[R, S, A](in: Iterable[A])(zero: S)(f: (A, S) => URIO[R, S]): URIO[R, S]
def forall[R, A](as: Iterable[A])(f: A => URIO[R, Boolean]): URIO[R, Boolean]
See also:
def foreach[R, A, B, Collection <: (Iterable)](in: Collection[A])(f: A => URIO[R, B])(implicit bf: BuildFrom[Collection[A], B, Collection[B]]): URIO[R, Collection[B]]
See also:
final def foreach[R, A, B](in: Set[A])(f: A => URIO[R, B]): URIO[R, Set[B]]
See also:
final def foreach[R, A, B : ClassTag](in: Array[A])(f: A => URIO[R, B]): URIO[R, Array[B]]
See also:
def foreach[R, Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) => URIO[R, (Key2, Value2)]): URIO[R, Map[Key2, Value2]]
See also:
def foreach[R, A, B](in: Option[A])(f: A => URIO[R, B]): URIO[R, Option[B]]
See also:
def foreach[R, A, B](in: NonEmptyChunk[A])(f: A => URIO[R, B]): URIO[R, NonEmptyChunk[B]]
See also:
final def foreachExec[R, A, B, Collection <: (Iterable)](as: Collection[A])(exec: ExecutionStrategy)(f: A => URIO[R, B])(implicit bf: BuildFrom[Collection[A], B, Collection[B]]): URIO[R, Collection[B]]
See also:
def foreachPar[R, A, B, Collection <: (Iterable)](as: Collection[A])(fn: A => URIO[R, B])(implicit bf: BuildFrom[Collection[A], B, Collection[B]]): URIO[R, Collection[B]]
See also:
final def foreachPar[R, A, B](as: Set[A])(fn: A => URIO[R, B]): URIO[R, Set[B]]
See also:
final def foreachPar[R, A, B : ClassTag](as: Array[A])(fn: A => URIO[R, B]): URIO[R, Array[B]]
See also:
def foreachPar[R, Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) => URIO[R, (Key2, Value2)]): URIO[R, Map[Key2, Value2]]
See also:
def foreachPar[R, A, B](as: NonEmptyChunk[A])(fn: A => URIO[R, B]): URIO[R, NonEmptyChunk[B]]
See also:
def foreachParN[R, A, B, Collection <: (Iterable)](n: Int)(as: Collection[A])(fn: A => URIO[R, B])(implicit bf: BuildFrom[Collection[A], B, Collection[B]]): URIO[R, Collection[B]]
def foreachParN_[R, A, B](n: Int)(as: Iterable[A])(f: A => URIO[R, Any]): URIO[R, Unit]
def foreachPar_[R, A, B](as: Iterable[A])(f: A => URIO[R, Any]): URIO[R, Unit]
def foreach_[R, A](as: Iterable[A])(f: A => URIO[R, Any]): URIO[R, Unit]
See also:
def forkAll[R, A, Collection <: (Iterable)](as: Collection[URIO[R, A]])(implicit bf: BuildFrom[Collection[URIO[R, A]], A, Collection[A]]): URIO[R, Fiber[Nothing, Collection[A]]]
See also:
def forkAll_[R, A](as: Iterable[URIO[R, A]]): URIO[R, Unit]
def fromEither[A](v: => Either[Nothing, A]): UIO[A]
def fromFiber[A](fiber: => Fiber[Nothing, A]): UIO[A]
def fromFiberM[A](fiber: UIO[Fiber[Nothing, A]]): UIO[A]
def fromFunction[R, A](f: R => A): URIO[R, A]
def fromFunctionM[R, A](f: R => UIO[A]): URIO[R, A]
def halt(cause: => Cause[Nothing]): UIO[Nothing]
See also:
def haltWith[R](function: () => ZTrace => Cause[Nothing]): URIO[R, Nothing]
def identity[R]: URIO[R, R]
def ifM[R](b: URIO[R, Boolean]): IfM[R, Nothing]
See also:
def interruptAs(fiberId: => Id): UIO[Nothing]
See also:
def interruptible[R, A](taskr: URIO[R, A]): URIO[R, A]
def iterate[R, S](initial: S)(cont: S => Boolean)(body: S => URIO[R, S]): URIO[R, S]
See also:
def left[R, A](a: => A): URIO[R, Either[A, Nothing]]
See also:
def lock[R, A](executor: => Executor)(taskr: URIO[R, A]): URIO[R, A]
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:
def loop_[R, S](initial: S)(cont: S => Boolean, inc: S => S)(body: S => URIO[R, Any]): URIO[R, Unit]
See also:
def mapN[R, A, B, C](urio1: URIO[R, A], urio2: URIO[R, B])(f: (A, B) => C): URIO[R, C]
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]
See also:
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]
See also:
def mapParN[R, A, B, C](urio1: URIO[R, A], urio2: URIO[R, B])(f: (A, B) => C): URIO[R, C]
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]
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]
See also:
def memoize[R, A, B](f: A => URIO[R, B]): UIO[A => URIO[R, B]]
See also:
def mergeAll[R, A, B](in: Iterable[URIO[R, A]])(zero: B)(f: (B, A) => B): URIO[R, B]
def mergeAllPar[R, A, B](in: Iterable[URIO[R, A]])(zero: B)(f: (B, A) => B): URIO[R, B]
def not[R](effect: URIO[R, Boolean]): URIO[R, Boolean]
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]
def reduceAllPar[R, R1 <: R, A](a: URIO[R, A], as: Iterable[URIO[R1, A]])(f: (A, A) => A): URIO[R1, A]
def replicate[R, A](n: Int)(effect: URIO[R, A]): Iterable[URIO[R, A]]
def replicateM[R, A](n: Int)(effect: URIO[R, A]): URIO[R, Iterable[A]]
See also:
def replicateM_[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:
def second[A]: URIO[(Any, A), A]
See also:
def service[A : Tag]: URIO[Has[A], A]
See also:
See also:
def services[A : Tag, B : Tag]: URIO[Has[A] & Has[B], (A, B)]
See also:
def services[A : Tag, B : Tag, C : Tag]: URIO[Has[A] & Has[B] & Has[C], (A, B, C)]
See also:
def services[A : Tag, B : Tag, C : Tag, D : Tag]: URIO[Has[A] & Has[B] & Has[C] & Has[D], (A, B, C, D)]
See also:
def sleep(duration: => Duration): URIO[Clock, Unit]
See also:
def some[R, A](a: => A): URIO[R, Option[A]]
See also:
def succeed[A](a: => A): UIO[A]
See also:
def swap[A, B]: URIO[(A, B), (B, A)]
See also:
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]
def unless[R](b: => Boolean)(zio: => URIO[R, Any]): URIO[R, Unit]
See also:
def unlessM[R](b: URIO[R, Boolean]): UnlessM[R, Nothing]
See also:
def unsandbox[R, A](v: IO[Cause[Nothing], A]): URIO[R, A]
def untraced[R, A](zio: URIO[R, A]): URIO[R, A]
def when[R](b: => Boolean)(rio: => URIO[R, Any]): URIO[R, Unit]
See also:
def whenCase[R, A](a: => A)(pf: PartialFunction[A, URIO[R, Any]]): URIO[R, Unit]
def whenCaseM[R, A](a: URIO[R, A])(pf: PartialFunction[A, URIO[R, Any]]): URIO[R, Unit]
def whenM[R](b: URIO[R, Boolean]): WhenM[R, Nothing]
See also:

Concrete fields

val fiberId: UIO[Id]
See also:
val infinity: URIO[Clock, Nothing]
val interrupt: UIO[Nothing]
val never: UIO[Nothing]
See also:
val none: UIO[Option[Nothing]]
See also:
val unit: UIO[Unit]
See also: