Proxy

class Proxy[+R](underlying: Runtime[R]) extends Runtime[R]
trait Runtime[R]
class Object
trait Matchable
class Any

Value members

Concrete methods

override def fiberRefs: FiberRefs
Definition Classes

Inherited methods

def as[R1](r1: ZEnvironment[R1]): Runtime[R1]

Constructs a new Runtime with the specified new environment.

Constructs a new Runtime with the specified new environment.

Inherited from:
Runtime
Inherited from:
Runtime
Inherited from:
Runtime
def flags: Set[RuntimeFlag]
Inherited from:
Runtime
def isFatal(t: Throwable): Boolean
Inherited from:
Runtime
def loggers: Set[ZLogger[String, Any]]
Inherited from:
Runtime
def map[R1](f: ZEnvironment[R] => ZEnvironment[R1]): Runtime[R1]

Constructs a new Runtime by mapping the environment.

Constructs a new Runtime by mapping the environment.

Inherited from:
Runtime
final def reportFatal(t: Throwable): Nothing
Inherited from:
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. Useful for testing.

Runs the effect "purely" through an async boundary. Useful for testing.

Inherited from:
Runtime
final def supervisors: Set[Supervisor[Any]]
Inherited from:
Runtime
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. May fail on Scala.js if the effect cannot be entirely run synchronously.

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.

Inherited from:
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.

Inherited from:
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. It returns a callback, which can be used to interrupt the running execution.

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.

Inherited from:
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.

Inherited from:
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. It returns a callback, which can be used to interrupt the running execution.

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.

Inherited from:
Runtime
final def unsafeRunTask[A](task: RIO[R, A])(implicit trace: Trace): A

Executes the Task/RIO effect synchronously, failing with the original Throwable on both Cause.Fail and Cause.Die. In addition, appends a new element to the Throwables "caused by" chain, with this Cause "pretty printed" (in stackless mode) as the message. May fail on Scala.js if the effect cannot be entirely run synchronously.

Executes the Task/RIO effect synchronously, failing with the original Throwable on both Cause.Fail and Cause.Die. In addition, appends a new element to the Throwables "caused by" chain, with this Cause "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.

Inherited from:
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.

Inherited from:
Runtime