object URIO
- Alphabetic
- By Inheritance
- URIO
- 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[R, A](v: ⇒ URIO[R, Either[Nothing, A]])(implicit trace: ZTraceElement): URIO[R, A]
- See also
-
def
acquireReleaseExitWith[R, A, B](acquire: ⇒ URIO[R, A], release: (A, Exit[Nothing, B]) ⇒ URIO[R, Any], use: (A) ⇒ URIO[R, B])(implicit trace: ZTraceElement): URIO[R, B]
- See also
acquireReleaseExitWith in zio.ZIO
-
def
acquireReleaseExitWith[R, A](acquire: ⇒ URIO[R, A]): AcquireExit[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])(implicit trace: ZTraceElement): URIO[R, B]
- See also
acquireReleaseWith in zio.ZIO
-
def
acquireReleaseWith[R, A](acquire: ⇒ URIO[R, A]): Acquire[R, Nothing, A]
- See also
acquireReleaseWith in zio.ZIO
-
def
allowInterrupt(implicit trace: ZTraceElement): UIO[Unit]
- See also
-
def
apply[A](a: ⇒ A)(implicit trace: ZTraceElement): 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)(implicit trace: ZTraceElement): URIO[R, A]
- See also
-
def
asyncInterrupt[R, A](register: ((URIO[R, A]) ⇒ Unit) ⇒ Either[Canceler[R], URIO[R, A]], blockingOn: ⇒ FiberId = FiberId.None)(implicit trace: ZTraceElement): URIO[R, A]
- See also
-
def
asyncMaybe[R, A](register: ((URIO[R, A]) ⇒ Unit) ⇒ Option[URIO[R, A]], blockingOn: ⇒ FiberId = FiberId.None)(implicit trace: ZTraceElement): URIO[R, A]
- See also
-
def
asyncZIO[R, A](register: ((URIO[R, A]) ⇒ Unit) ⇒ URIO[R, Any])(implicit trace: ZTraceElement): URIO[R, A]
- See also
-
def
blocking[R, A](zio: ⇒ URIO[R, A])(implicit trace: ZTraceElement): URIO[R, A]
- See also
See zio.ZIO.blocking
-
def
blockingExecutor(implicit trace: ZTraceElement): UIO[Executor]
- See also
-
def
checkInterruptible[R, A](f: (InterruptStatus) ⇒ URIO[R, A])(implicit trace: ZTraceElement): URIO[R, A]
- See also
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
collect[R, Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) ⇒ ZIO[R, Option[Nothing], (Key2, Value2)])(implicit trace: ZTraceElement): URIO[R, Map[Key2, Value2]]
- See also
- 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]], trace: ZTraceElement): URIO[R, Collection[B]]
-
def
collectAll[R, A](in: NonEmptyChunk[URIO[R, A]])(implicit trace: ZTraceElement): URIO[R, NonEmptyChunk[A]]
- See also
-
def
collectAll[R, A](in: Option[URIO[R, A]])(implicit trace: ZTraceElement): URIO[R, Option[A]]
- See also
-
def
collectAll[R, A](in: Array[URIO[R, A]])(implicit arg0: ClassTag[A], trace: ZTraceElement): URIO[R, Array[A]]
- See also
-
def
collectAll[R, A](in: Set[URIO[R, A]])(implicit trace: ZTraceElement): 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]], trace: ZTraceElement): URIO[R, Collection[A]]
-
def
collectAllDiscard[R, A](in: ⇒ Iterable[URIO[R, A]])(implicit trace: ZTraceElement): URIO[R, Unit]
- See also
-
def
collectAllPar[R, A](as: NonEmptyChunk[URIO[R, A]])(implicit trace: ZTraceElement): URIO[R, NonEmptyChunk[A]]
- See also
-
def
collectAllPar[R, A](as: Array[URIO[R, A]])(implicit arg0: ClassTag[A], trace: ZTraceElement): URIO[R, Array[A]]
- See also
-
def
collectAllPar[R, A](as: Set[URIO[R, A]])(implicit trace: ZTraceElement): 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]], trace: ZTraceElement): URIO[R, Collection[A]]
-
def
collectAllParDiscard[R, A](in: ⇒ Iterable[URIO[R, A]])(implicit trace: ZTraceElement): 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]], trace: ZTraceElement): 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]], trace: ZTraceElement): 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]], trace: ZTraceElement): 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]], trace: ZTraceElement): URIO[R, Collection[B]]
- See also
-
def
collectFirst[R, A, B](as: ⇒ Iterable[A])(f: (A) ⇒ URIO[R, Option[B]])(implicit trace: ZTraceElement): 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)])(implicit trace: ZTraceElement): 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]], trace: ZTraceElement): URIO[R, 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[R, A](f: (Descriptor) ⇒ URIO[R, A])(implicit trace: ZTraceElement): URIO[R, A]
- See also
-
def
die(t: ⇒ Throwable)(implicit trace: ZTraceElement): UIO[Nothing]
- See also
-
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
-
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: Any): 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) ⇒ URIO[R, Boolean])(implicit trace: ZTraceElement): URIO[R, 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[R, A](as: Set[A])(f: (A) ⇒ URIO[R, Boolean])(implicit trace: ZTraceElement): 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]], trace: ZTraceElement): URIO[R, Collection[A]]
- See also
-
def
filterNot[R, A](as: Set[A])(f: (A) ⇒ URIO[R, Boolean])(implicit trace: ZTraceElement): 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]], trace: ZTraceElement): URIO[R, Collection[A]]
- See also
-
def
filterNotPar[R, A](as: Set[A])(f: (A) ⇒ URIO[R, Boolean])(implicit trace: ZTraceElement): URIO[R, Set[A]]
- See also
- 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]], trace: ZTraceElement): URIO[R, Collection[A]]
-
def
filterPar[R, A](as: Set[A])(f: (A) ⇒ URIO[R, Boolean])(implicit trace: ZTraceElement): 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]], trace: ZTraceElement): URIO[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: ⇒ URIO[R, A], rest: ⇒ Iterable[URIO[R, A]])(implicit trace: ZTraceElement): URIO[R, A]
- See also
-
def
flatten[R, A](taskr: ⇒ URIO[R, URIO[R, A]])(implicit trace: ZTraceElement): URIO[R, A]
- See also
-
def
foldLeft[R, S, A](in: ⇒ Iterable[A])(zero: ⇒ S)(f: (S, A) ⇒ URIO[R, S])(implicit trace: ZTraceElement): URIO[R, S]
- See also
-
def
foldRight[R, S, A](in: ⇒ Iterable[A])(zero: ⇒ S)(f: (A, S) ⇒ URIO[R, S])(implicit trace: ZTraceElement): URIO[R, S]
- See also
-
def
forall[R, A](as: ⇒ Iterable[A])(f: (A) ⇒ URIO[R, Boolean])(implicit trace: ZTraceElement): URIO[R, Boolean]
- See also
See zio.ZIO.forall
- def foreach[R, A, B](in: NonEmptyChunk[A])(f: (A) ⇒ URIO[R, B])(implicit trace: ZTraceElement): URIO[R, NonEmptyChunk[B]]
-
def
foreach[R, A, B](in: Option[A])(f: (A) ⇒ URIO[R, B])(implicit trace: ZTraceElement): URIO[R, Option[B]]
- See also
-
def
foreach[R, Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) ⇒ URIO[R, (Key2, Value2)])(implicit trace: ZTraceElement): URIO[R, Map[Key2, Value2]]
- See also
-
final
def
foreach[R, A, B](in: Array[A])(f: (A) ⇒ URIO[R, B])(implicit arg0: ClassTag[B], trace: ZTraceElement): URIO[R, Array[B]]
- See also
-
final
def
foreach[R, A, B](in: Set[A])(f: (A) ⇒ URIO[R, B])(implicit trace: ZTraceElement): 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]], trace: ZTraceElement): URIO[R, Collection[B]]
-
def
foreachDiscard[R, A](as: ⇒ Iterable[A])(f: (A) ⇒ URIO[R, Any])(implicit trace: ZTraceElement): 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]], trace: ZTraceElement): URIO[R, Collection[B]]
- See also
- def foreachPar[R, A, B](as: NonEmptyChunk[A])(fn: (A) ⇒ URIO[R, B])(implicit trace: ZTraceElement): URIO[R, NonEmptyChunk[B]]
- def foreachPar[R, Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) ⇒ URIO[R, (Key2, Value2)])(implicit trace: ZTraceElement): URIO[R, Map[Key2, Value2]]
- final def foreachPar[R, A, B](as: Array[A])(fn: (A) ⇒ URIO[R, B])(implicit arg0: ClassTag[B], trace: ZTraceElement): URIO[R, Array[B]]
-
final
def
foreachPar[R, A, B](as: Set[A])(fn: (A) ⇒ URIO[R, B])(implicit trace: ZTraceElement): URIO[R, Set[B]]
- See also
- 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]], trace: ZTraceElement): URIO[R, Collection[B]]
-
def
foreachParDiscard[R, A, B](as: ⇒ Iterable[A])(f: (A) ⇒ URIO[R, Any])(implicit trace: ZTraceElement): 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]], trace: ZTraceElement): URIO[R, Fiber[Nothing, Collection[A]]]
- See also
-
def
forkAllDiscard[R, A](as: ⇒ Iterable[URIO[R, A]])(implicit trace: ZTraceElement): URIO[R, Unit]
- See also
-
def
from[Input](input: ⇒ Input)(implicit constructor: ZIOConstructor[Nothing, Nothing, Input], trace: ZTraceElement): ZIO[OutEnvironment, OutError, OutSuccess]
Constructs a
URIO
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
getState[S](implicit arg0: zio.Tag[S], trace: ZTraceElement): ZIO[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
-
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: ⇒ URIO[R, A])(implicit trace: ZTraceElement): URIO[R, A]
- See also
-
def
interruptibleMask[R, A](k: (InterruptStatusRestore) ⇒ URIO[R, A])(implicit trace: ZTraceElement): 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])(implicit trace: ZTraceElement): URIO[R, S]
- See also
See zio.ZIO.iterate
-
def
left[R, A](a: ⇒ A)(implicit trace: ZTraceElement): 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])(implicit trace: ZTraceElement): 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])(implicit trace: ZTraceElement): URIO[R, Unit]
- See also
-
def
memoize[R, A, B](f: (A) ⇒ URIO[R, B])(implicit trace: ZTraceElement): 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)(implicit trace: ZTraceElement): URIO[R, B]
- See also
-
def
mergeAllPar[R, A, B](in: ⇒ Iterable[URIO[R, A]])(zero: ⇒ B)(f: (B, A) ⇒ B)(implicit trace: ZTraceElement): URIO[R, B]
- See also
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
never(implicit trace: ZTraceElement): UIO[Nothing]
- See also
-
val
none: UIO[Option[Nothing]]
- See also
-
def
not[R](effect: ⇒ URIO[R, Boolean])(implicit trace: ZTraceElement): 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])(implicit trace: ZTraceElement): URIO[R, A]
- See also
-
def
provideEnvironment[R, A](r: ⇒ ZEnvironment[R])(implicit trace: ZTraceElement): (URIO[R, A]) ⇒ UIO[A]
- See also
-
def
raceAll[R, R1 <: R, A](taskr: ⇒ URIO[R, A], taskrs: ⇒ Iterable[URIO[R1, A]])(implicit trace: ZTraceElement): URIO[R1, A]
- See also
-
def
reduceAll[R, R1 <: R, A](a: ⇒ URIO[R, A], as: ⇒ Iterable[URIO[R1, A]])(f: (A, A) ⇒ A)(implicit trace: ZTraceElement): URIO[R1, A]
- See also
-
def
reduceAllPar[R, R1 <: R, A](a: ⇒ URIO[R, A], as: ⇒ Iterable[URIO[R1, A]])(f: (A, A) ⇒ A)(implicit trace: ZTraceElement): URIO[R1, A]
- See also
-
def
replicate[R, A](n: ⇒ Int)(effect: ⇒ URIO[R, A])(implicit trace: ZTraceElement): Iterable[URIO[R, A]]
- See also
-
def
replicateZIO[R, A](n: ⇒ Int)(effect: ⇒ URIO[R, A])(implicit trace: ZTraceElement): URIO[R, Iterable[A]]
- See also
-
def
replicateZIODiscard[R, A](n: ⇒ Int)(effect: ⇒ URIO[R, A])(implicit trace: ZTraceElement): URIO[R, Unit]
- See also
-
def
reserve[R, A, B](reservation: ⇒ URIO[R, Reservation[R, Nothing, A]])(use: (A) ⇒ URIO[R, B])(implicit trace: ZTraceElement): URIO[R, B]
- See also
-
def
right[R, B](b: ⇒ B)(implicit trace: ZTraceElement): RIO[R, Either[Nothing, B]]
- See also
-
def
runtime[R](implicit trace: ZTraceElement): URIO[R, Runtime[R]]
- See also
-
def
runtimeConfig(implicit trace: ZTraceElement): UIO[RuntimeConfig]
- See also
-
def
service[A](implicit arg0: zio.Tag[A], arg1: IsNotIntersection[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.Tag[S], trace: ZTraceElement): ZIO[ZState[S], Nothing, Unit]
- See also
-
def
sleep(duration: ⇒ zio.Duration)(implicit trace: ZTraceElement): URIO[Clock, Unit]
- See also
-
def
some[R, A](a: ⇒ A)(implicit trace: ZTraceElement): URIO[R, Option[A]]
- See also
-
def
succeed[A](effect: ⇒ A)(implicit trace: ZTraceElement): UIO[A]
- See also
-
def
succeedBlocking[A](a: ⇒ A)(implicit trace: ZTraceElement): UIO[A]
- See also
-
def
suspendSucceed[R, A](rio: ⇒ URIO[R, A])(implicit trace: ZTraceElement): URIO[R, A]
- See also
-
def
suspendSucceedWith[R, A](f: (RuntimeConfig, FiberId) ⇒ URIO[R, A])(implicit trace: ZTraceElement): URIO[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
-
def
uninterruptible[R, A](taskr: ⇒ URIO[R, A])(implicit trace: ZTraceElement): URIO[R, A]
- See also
-
def
uninterruptibleMask[R, A](k: (InterruptStatusRestore) ⇒ URIO[R, A])(implicit trace: ZTraceElement): URIO[R, A]
- See also
-
val
unit: UIO[Unit]
- See also
-
def
unless[R, A](b: ⇒ Boolean)(zio: ⇒ URIO[R, A])(implicit trace: ZTraceElement): 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])(implicit trace: ZTraceElement): URIO[R, A]
- See also
-
def
updateState[S](f: (S) ⇒ S)(implicit arg0: zio.Tag[S], trace: ZTraceElement): ZIO[ZState[S], Nothing, Unit]
- 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[R, A](b: ⇒ Boolean)(rio: ⇒ URIO[R, A])(implicit trace: ZTraceElement): URIO[R, Option[A]]
- See also
-
def
whenCase[R, A, B](a: ⇒ A)(pf: PartialFunction[A, URIO[R, B]])(implicit trace: ZTraceElement): URIO[R, Option[B]]
- See also
-
def
whenCaseZIO[R, A, B](a: ⇒ URIO[R, A])(pf: PartialFunction[A, URIO[R, B]])(implicit trace: ZTraceElement): 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])(implicit trace: ZTraceElement): URIO[R, A]
- See also
-
def
yieldNow(implicit trace: ZTraceElement): UIO[Unit]
- See also
Deprecated Value Members
-
def
access[R]: EnvironmentWithPartiallyApplied[R]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use environmentWith
- See also
-
def
accessM[R]: EnvironmentWithZIOPartiallyApplied[R]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use environmentWithZIO
- See also
-
def
accessZIO[R]: EnvironmentWithZIOPartiallyApplied[R]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use environmentWithZIO
- See also
-
def
bracket[R, A, B](acquire: ⇒ URIO[R, A], release: (A) ⇒ URIO[R, Any], use: (A) ⇒ URIO[R, B])(implicit trace: ZTraceElement): 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]): Acquire[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])(implicit trace: ZTraceElement): 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]): AcquireExit[R, Nothing, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use acquireReleaseExitWith
- See also
bracketExit in zio.ZIO
-
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]], trace: ZTraceElement): URIO[R, Collection[A]]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use collectAllPar
- See also
-
def
collectAllParNDiscard[R, A](n: ⇒ Int)(as: ⇒ Iterable[URIO[R, A]])(implicit trace: ZTraceElement): URIO[R, Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use collectAllParDiscard
- See also
-
def
collectAllParN_[R, A](n: ⇒ Int)(as: ⇒ Iterable[URIO[R, A]])(implicit trace: ZTraceElement): URIO[R, Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use collectAllParDiscard
- See also
-
def
collectAllPar_[R, A](in: ⇒ Iterable[URIO[R, A]])(implicit trace: ZTraceElement): URIO[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[URIO[R, A]])(implicit bf: zio.BuildFrom[Collection[URIO[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[URIO[R, A]])(f: PartialFunction[A, B])(implicit bf: zio.BuildFrom[Collection[URIO[R, A]], B, Collection[B]], trace: ZTraceElement): URIO[R, Collection[B]]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use collectAllWithPar
- See also
-
def
collectAll_[R, A](in: ⇒ Iterable[URIO[R, A]])(implicit trace: ZTraceElement): URIO[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[Nothing], B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]], trace: ZTraceElement): URIO[R, Collection[B]]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use collectPar
- See also
-
def
effectAsync[R, A](register: ((URIO[R, A]) ⇒ Unit) ⇒ Any, blockingOn: ⇒ FiberId = FiberId.None)(implicit trace: ZTraceElement): 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)(implicit trace: ZTraceElement): 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])(implicit trace: ZTraceElement): 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)(implicit trace: ZTraceElement): URIO[R, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use asyncMaybe
- See also
-
def
effectSuspendTotal[R, A](rio: ⇒ URIO[R, A])(implicit trace: ZTraceElement): 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])(implicit trace: ZTraceElement): URIO[R, 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[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]], trace: ZTraceElement): URIO[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) ⇒ URIO[R, Any])(implicit trace: ZTraceElement): URIO[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) ⇒ URIO[R, Any])(implicit trace: ZTraceElement): URIO[R, Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use foreachParDiscard
- See also
-
def
foreachPar_[R, A, B](as: ⇒ Iterable[A])(f: (A) ⇒ URIO[R, Any])(implicit trace: ZTraceElement): 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])(implicit trace: ZTraceElement): URIO[R, Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use foreachDiscard
- See also
-
def
forkAll_[R, A](as: ⇒ Iterable[URIO[R, A]])(implicit trace: ZTraceElement): URIO[R, Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use forkAllDiscard
- See also
-
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
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]) ⇒ UIO[A])(implicit trace: ZTraceElement): URIO[R, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use environmentWithZIO
- See also
-
def
halt(cause: ⇒ Cause[Nothing])(implicit trace: ZTraceElement): UIO[Nothing]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use failCause
- 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])(implicit trace: ZTraceElement): 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])(implicit trace: ZTraceElement): 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)(implicit trace: ZTraceElement): 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)(implicit trace: ZTraceElement): 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)(implicit trace: ZTraceElement): 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)(implicit trace: ZTraceElement): 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)(implicit trace: ZTraceElement): 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)(implicit trace: ZTraceElement): 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])(implicit trace: ZTraceElement): 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])(implicit trace: ZTraceElement): 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: IsNotIntersection[A], arg2: zio.Tag[B], arg3: IsNotIntersection[B], arg4: zio.Tag[C], arg5: IsNotIntersection[C], arg6: zio.Tag[D], arg7: IsNotIntersection[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: zio.Tag[A], arg1: IsNotIntersection[A], arg2: zio.Tag[B], arg3: IsNotIntersection[B], arg4: zio.Tag[C], arg5: IsNotIntersection[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: zio.Tag[A], arg1: IsNotIntersection[A], arg2: zio.Tag[B], arg3: IsNotIntersection[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: ⇒ 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]])(implicit trace: ZTraceElement): 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