class Proxy[+R] extends Runtime[R]
- Alphabetic
- By Inheritance
- Proxy
- Runtime
- 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
as[R1](r1: ZEnvironment[R1]): Runtime[R1]
Constructs a new
Runtimewith the specified new environment.Constructs a new
Runtimewith the specified new environment.- Definition Classes
- Runtime
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
blockingExecutor: Executor
- Definition Classes
- Runtime
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
environment: ZEnvironment[R]
The environment of the runtime.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
executor: Executor
- Definition Classes
- Runtime
-
def
fiberRefs: FiberRefs
The
FiberRefvalues that will be used for workflows executed by the runtime. -
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
flags: Set[RuntimeFlag]
- Definition Classes
- Runtime
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
isFatal(t: Throwable): Boolean
- Definition Classes
- Runtime
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
loggers: Set[ZLogger[String, Any]]
- Definition Classes
- Runtime
-
def
map[R1](f: (ZEnvironment[R]) ⇒ ZEnvironment[R1]): Runtime[R1]
Constructs a new
Runtimeby mapping the environment.Constructs a new
Runtimeby mapping the environment.- Definition Classes
- Runtime
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
reportFatal(t: Throwable): Nothing
- Definition Classes
- Runtime
-
final
def
run[E, A](zio: ZIO[R, E, A])(implicit trace: Trace): IO[E, A]
Runs the effect "purely" through an async boundary.
Runs the effect "purely" through an async boundary. Useful for testing.
- Definition Classes
- Runtime
-
final
def
supervisors: Set[Supervisor[Any]]
- Definition Classes
- Runtime
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
unsafeRun[E, A](zio: ZIO[R, E, A])(implicit trace: Trace): A
Executes the effect synchronously, failing with zio.FiberFailure if there are any errors.
Executes the effect synchronously, failing with zio.FiberFailure if there are any errors. May fail on Scala.js if the effect cannot be entirely run synchronously.
This method is effectful and should only be done at the edges of your program.
- Definition Classes
- Runtime
-
final
def
unsafeRunAsync[E, A](zio: ZIO[R, E, A])(implicit trace: Trace): Unit
Executes the effect asynchronously, discarding the result of execution.
Executes the effect asynchronously, discarding the result of execution.
This method is effectful and should only be invoked at the edges of your program.
- Definition Classes
- Runtime
-
final
def
unsafeRunAsyncCancelable[E, A](zio: ZIO[R, E, A])(k: (Exit[E, A]) ⇒ Any)(implicit trace: Trace): (FiberId) ⇒ Exit[E, A]
Executes the effect asynchronously, eventually passing the exit value to the specified callback.
Executes the effect asynchronously, eventually passing the exit value to the specified callback. It returns a callback, which can be used to interrupt the running execution.
This method is effectful and should only be invoked at the edges of your program.
- Definition Classes
- Runtime
-
final
def
unsafeRunAsyncWith[E, A](zio: ZIO[R, E, A])(k: (Exit[E, A]) ⇒ Any)(implicit trace: Trace): Unit
Executes the effect asynchronously, eventually passing the exit value to the specified callback.
Executes the effect asynchronously, eventually passing the exit value to the specified callback.
This method is effectful and should only be invoked at the edges of your program.
- Definition Classes
- Runtime
-
final
def
unsafeRunSync[E, A](zio0: ZIO[R, E, A])(implicit trace: Trace): Exit[E, A]
Executes the effect asynchronously, eventually passing the exit value to the specified callback.
Executes the effect asynchronously, eventually passing the exit value to the specified callback. It returns a callback, which can be used to interrupt the running execution.
This method is effectful and should only be invoked at the edges of your program.
- Definition Classes
- Runtime
-
final
def
unsafeRunTask[A](task: RIO[R, A])(implicit trace: Trace): A
Executes the Task/RIO effect synchronously, failing with the original
Throwableon both Cause.Fail and Cause.Die.Executes the Task/RIO effect synchronously, failing with the original
Throwableon both Cause.Fail and Cause.Die. In addition, appends a new element to theThrowables "caused by" chain, with thisCause"pretty printed" (in stackless mode) as the message. May fail on Scala.js if the effect cannot be entirely run synchronously.This method is effectful and should only be done at the edges of your program.
- Definition Classes
- Runtime
-
final
def
unsafeRunToFuture[E <: Throwable, A](zio: ZIO[R, E, A])(implicit trace: Trace): CancelableFuture[A]
Runs the IO, returning a Future that will be completed when the effect has been executed.
Runs the IO, returning a Future that will be completed when the effect has been executed.
This method is effectful and should only be used at the edges of your program.
- Definition Classes
- Runtime
-
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()