Constructs a new Runtime with the specified new environment.
Constructs a new Runtime with the specified new environment.
The environment of the runtime.
Constructs a new Runtime by mapping the environment.
Constructs a new Runtime by mapping the environment.
Constructs a new Runtime by mapping the runtime configuration.
Constructs a new Runtime by mapping the runtime configuration.
Runs the effect "purely" through an async boundary.
Runs the effect "purely" through an async boundary. Useful for testing.
The configuration of the runtime, which provides the essential capabilities necessary to bootstrap execution of tasks.
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.
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.
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.
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.
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.
Executes the Task/RIO effect synchronously, failing with the original
Throwable on both Cause.Fail and Cause.Die.
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.
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.
Constructs a new Runtime with the specified blocking executor.
Constructs a new Runtime with the specified blocking executor.
Constructs a new Runtime with the specified executor.
Constructs a new Runtime with the specified executor.
Constructs a new Runtime with the specified fatal predicate.
Constructs a new Runtime with the specified fatal predicate.
Constructs a new Runtime with the fatal error reporter.
Constructs a new Runtime with the fatal error reporter.