object
URIO
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
def
absolve[R, A](v: ⇒ URIO[R, Either[Nothing, A]])(implicit trace: ZTraceElement): URIO[R, A]
-
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]
-
def
acquireReleaseExitWith[R, A](acquire: ⇒ URIO[R, A]): AcquireExit[R, Nothing, A]
-
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]
-
def
acquireReleaseWith[R, A](acquire: ⇒ URIO[R, A]): Acquire[R, Nothing, A]
-
-
def
apply[A](a: ⇒ A)(implicit trace: ZTraceElement): UIO[A]
-
final
def
asInstanceOf[T0]: T0
-
-
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]
-
-
def
asyncZIO[R, A](register: ((URIO[R, A]) ⇒ Unit) ⇒ URIO[R, Any])(implicit trace: ZTraceElement): URIO[R, A]
-
def
blocking[R, A](zio: ⇒ URIO[R, A])(implicit trace: ZTraceElement): URIO[R, A]
-
-
-
def
clone(): AnyRef
-
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]]
-
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: Set[URIO[R, A]])(implicit trace: ZTraceElement): URIO[R, Set[A]]
-
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]
-
-
-
def
collectAllPar[R, A](as: Set[URIO[R, A]])(implicit trace: ZTraceElement): URIO[R, Set[A]]
-
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]
-
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]]
-
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]]
-
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]]
-
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]]
-
def
collectFirst[R, A, B](as: ⇒ Iterable[A])(f: (A) ⇒ URIO[R, Option[B]])(implicit trace: ZTraceElement): URIO[R, Option[B]]
-
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
descriptorWith[R, A](f: (Descriptor) ⇒ URIO[R, A])(implicit trace: ZTraceElement): URIO[R, A]
-
-
def
dieMessage(message: ⇒ String)(implicit trace: ZTraceElement): UIO[Nothing]
-
-
-
-
-
-
-
-
def
exists[R, A](as: ⇒ Iterable[A])(f: (A) ⇒ URIO[R, Boolean])(implicit trace: ZTraceElement): URIO[R, Boolean]
-
-
-
def
filter[R, A](as: Set[A])(f: (A) ⇒ URIO[R, Boolean])(implicit trace: ZTraceElement): URIO[R, Set[A]]
-
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]]
-
def
filterNot[R, A](as: Set[A])(f: (A) ⇒ URIO[R, Boolean])(implicit trace: ZTraceElement): URIO[R, Set[A]]
-
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]]
-
def
filterNotPar[R, A](as: Set[A])(f: (A) ⇒ URIO[R, Boolean])(implicit trace: ZTraceElement): 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]], 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]]
-
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]]
-
def
finalize(): Unit
-
def
firstSuccessOf[R, A](rio: ⇒ URIO[R, A], rest: ⇒ Iterable[URIO[R, A]])(implicit trace: ZTraceElement): URIO[R, A]
-
def
flatten[R, A](taskr: ⇒ URIO[R, URIO[R, A]])(implicit trace: ZTraceElement): URIO[R, A]
-
def
foldLeft[R, S, A](in: ⇒ Iterable[A])(zero: ⇒ S)(f: (S, A) ⇒ URIO[R, S])(implicit trace: ZTraceElement): URIO[R, S]
-
def
foldRight[R, S, A](in: ⇒ Iterable[A])(zero: ⇒ S)(f: (A, S) ⇒ URIO[R, S])(implicit trace: ZTraceElement): URIO[R, S]
-
def
forall[R, A](as: ⇒ Iterable[A])(f: (A) ⇒ URIO[R, Boolean])(implicit trace: ZTraceElement): URIO[R, Boolean]
-
-
def
foreach[R, A, B](in: Option[A])(f: (A) ⇒ URIO[R, B])(implicit trace: ZTraceElement): URIO[R, Option[B]]
-
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]]
-
final
def
foreach[R, A, B](in: Array[A])(f: (A) ⇒ URIO[R, B])(implicit arg0: ClassTag[B], trace: ZTraceElement): URIO[R, Array[B]]
-
final
def
foreach[R, A, B](in: Set[A])(f: (A) ⇒ URIO[R, B])(implicit trace: ZTraceElement): URIO[R, Set[B]]
-
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]
-
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]]
-
-
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]]
-
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]
-
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]]]
-
def
forkAllDiscard[R, A](as: ⇒ Iterable[URIO[R, A]])(implicit trace: ZTraceElement): URIO[R, Unit]
-
-
def
fromEither[A](v: ⇒ Either[Nothing, A])(implicit trace: ZTraceElement): UIO[A]
-
-
-
final
def
getClass(): Class[_]
-
-
-
def
hashCode(): Int
-
-
-
-
-
def
interruptible[R, A](taskr: ⇒ URIO[R, A])(implicit trace: ZTraceElement): URIO[R, A]
-
-
final
def
isInstanceOf[T0]: Boolean
-
def
iterate[R, S](initial: ⇒ S)(cont: (S) ⇒ Boolean)(body: (S) ⇒ URIO[R, S])(implicit trace: ZTraceElement): URIO[R, S]
-
def
left[R, A](a: ⇒ A)(implicit trace: ZTraceElement): URIO[R, Either[A, Nothing]]
-
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]]
-
def
loopDiscard[R, S](initial: ⇒ S)(cont: (S) ⇒ Boolean, inc: (S) ⇒ S)(body: (S) ⇒ URIO[R, Any])(implicit trace: ZTraceElement): URIO[R, Unit]
-
def
memoize[R, A, B](f: (A) ⇒ URIO[R, B])(implicit trace: ZTraceElement): UIO[(A) ⇒ URIO[R, B]]
-
def
mergeAll[R, A, B](in: ⇒ Iterable[URIO[R, A]])(zero: ⇒ B)(f: (B, A) ⇒ B)(implicit trace: ZTraceElement): URIO[R, B]
-
def
mergeAllPar[R, A, B](in: ⇒ Iterable[URIO[R, A]])(zero: ⇒ B)(f: (B, A) ⇒ B)(implicit trace: ZTraceElement): URIO[R, B]
-
-
-
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
onExecutor[R, A](executor: ⇒ Executor)(taskr: URIO[R, A])(implicit trace: ZTraceElement): URIO[R, A]
-
def
provideEnvironment[R, A](r: ⇒ ZEnvironment[R])(implicit trace: ZTraceElement): (URIO[R, A]) ⇒ UIO[A]
-
def
raceAll[R, R1 <: R, A](taskr: ⇒ URIO[R, A], taskrs: ⇒ Iterable[URIO[R1, A]])(implicit trace: ZTraceElement): URIO[R1, A]
-
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]
-
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]
-
def
replicate[R, A](n: ⇒ Int)(effect: ⇒ URIO[R, A])(implicit trace: ZTraceElement): Iterable[URIO[R, A]]
-
def
replicateZIO[R, A](n: ⇒ Int)(effect: ⇒ URIO[R, A])(implicit trace: ZTraceElement): URIO[R, Iterable[A]]
-
def
replicateZIODiscard[R, A](n: ⇒ Int)(effect: ⇒ URIO[R, A])(implicit trace: ZTraceElement): URIO[R, Unit]
-
def
reserve[R, A, B](reservation: ⇒ URIO[R, Reservation[R, Nothing, A]])(use: (A) ⇒ URIO[R, B])(implicit trace: ZTraceElement): URIO[R, B]
-
def
right[R, B](b: ⇒ B)(implicit trace: ZTraceElement): RIO[R, Either[Nothing, B]]
-
-
-
-
-
-
-
-
-
def
some[R, A](a: ⇒ A)(implicit trace: ZTraceElement): URIO[R, Option[A]]
-
def
succeed[A](effect: ⇒ A)(implicit trace: ZTraceElement): UIO[A]
-
def
succeedBlocking[A](a: ⇒ A)(implicit trace: ZTraceElement): UIO[A]
-
def
suspendSucceed[R, A](rio: ⇒ URIO[R, A])(implicit trace: ZTraceElement): URIO[R, A]
-
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
-
def
uninterruptible[R, A](taskr: ⇒ URIO[R, A])(implicit trace: ZTraceElement): URIO[R, A]
-
-
-
-
-
-
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
-
-
-
-
def
withRuntimeConfig[R, A](runtimeConfig: ⇒ RuntimeConfig)(urio: ⇒ URIO[R, A])(implicit trace: ZTraceElement): URIO[R, A]
-
Deprecated Value Members
-
-
-
-
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]
-
def
bracket[R, A](acquire: ⇒ URIO[R, A]): Acquire[R, Nothing, A]
-
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]
-
def
bracketExit[R, A](acquire: ⇒ URIO[R, A]): AcquireExit[R, Nothing, A]
-
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]]
-
def
collectAllParNDiscard[R, A](n: ⇒ Int)(as: ⇒ Iterable[URIO[R, A]])(implicit trace: ZTraceElement): URIO[R, Unit]
-
def
collectAllParN_[R, A](n: ⇒ Int)(as: ⇒ Iterable[URIO[R, A]])(implicit trace: ZTraceElement): URIO[R, Unit]
-
def
collectAllPar_[R, A](in: ⇒ Iterable[URIO[R, A]])(implicit trace: ZTraceElement): URIO[R, Unit]
-
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]]
-
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]]
-
def
collectAll_[R, A](in: ⇒ Iterable[URIO[R, A]])(implicit trace: ZTraceElement): URIO[R, Unit]
-
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]]
-
-
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]
-
def
effectAsyncM[R, A](register: ((URIO[R, A]) ⇒ Unit) ⇒ URIO[R, Any])(implicit trace: ZTraceElement): URIO[R, A]
-
-
def
effectSuspendTotal[R, A](rio: ⇒ URIO[R, A])(implicit trace: ZTraceElement): URIO[R, A]
-
def
effectSuspendTotalWith[R, A](p: (Platform, Id) ⇒ URIO[R, A])(implicit trace: ZTraceElement): URIO[R, A]
-
def
effectTotal[A](effect: ⇒ A)(implicit trace: ZTraceElement): UIO[A]
-
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]]
-
def
foreachParNDiscard[R, A, B](n: ⇒ Int)(as: ⇒ Iterable[A])(f: (A) ⇒ URIO[R, Any])(implicit trace: ZTraceElement): URIO[R, Unit]
-
def
foreachParN_[R, A, B](n: ⇒ Int)(as: ⇒ Iterable[A])(f: (A) ⇒ URIO[R, Any])(implicit trace: ZTraceElement): URIO[R, Unit]
-
def
foreachPar_[R, A, B](as: ⇒ Iterable[A])(f: (A) ⇒ URIO[R, Any])(implicit trace: ZTraceElement): URIO[R, Unit]
-
def
foreach_[R, A](as: ⇒ Iterable[A])(f: (A) ⇒ URIO[R, Any])(implicit trace: ZTraceElement): URIO[R, Unit]
-
def
forkAll_[R, A](as: ⇒ Iterable[URIO[R, A]])(implicit trace: ZTraceElement): URIO[R, Unit]
-
-
def
fromFunction[R, A](f: (ZEnvironment[R]) ⇒ A)(implicit trace: ZTraceElement): URIO[R, A]
-
def
fromFunctionM[R, A](f: (ZEnvironment[R]) ⇒ UIO[A])(implicit trace: ZTraceElement): URIO[R, A]
-
-
-
def
lock[R, A](executor: ⇒ Executor)(taskr: ⇒ URIO[R, A])(implicit trace: ZTraceElement): URIO[R, A]
-
def
loop_[R, S](initial: ⇒ S)(cont: (S) ⇒ Boolean, inc: (S) ⇒ S)(body: (S) ⇒ URIO[R, Any])(implicit trace: ZTraceElement): URIO[R, Unit]
-
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]
-
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]
-
def
mapN[R, A, B, C](urio1: ⇒ URIO[R, A], urio2: ⇒ URIO[R, B])(f: (A, B) ⇒ C)(implicit trace: ZTraceElement): URIO[R, C]
-
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]
-
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]
-
def
mapParN[R, A, B, C](urio1: ⇒ URIO[R, A], urio2: ⇒ URIO[R, B])(f: (A, B) ⇒ C)(implicit trace: ZTraceElement): URIO[R, C]
-
def
replicateM[R, A](n: ⇒ Int)(effect: ⇒ URIO[R, A])(implicit trace: ZTraceElement): URIO[R, Iterable[A]]
-
def
replicateM_[R, A](n: ⇒ Int)(effect: ⇒ URIO[R, A])(implicit trace: ZTraceElement): URIO[R, Unit]
-
-
-
-
-
-