trait DefaultRuntime extends Runtime[Clock with Console with System with Random with Blocking]
- Alphabetic
- By Inheritance
- DefaultRuntime
- Runtime
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
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
-
val
Environment: Environment
The environment of the runtime.
The environment of the runtime.
- Definition Classes
- DefaultRuntime → Runtime
-
val
Platform: Platform
The platform of the runtime, which provides the essential capabilities necessary to bootstrap execution of tasks.
The platform of the runtime, which provides the essential capabilities necessary to bootstrap execution of tasks.
- Definition Classes
- DefaultRuntime → Runtime
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
const[R1](r1: R1): Runtime[R1]
Constructs a new
Runtime
with the specified new environment.Constructs a new
Runtime
with the specified new environment.- Definition Classes
- Runtime
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
map[R1](f: (Clock with Console with System with Random with Blocking) ⇒ R1): Runtime[R1]
Constructs a new
Runtime
by mapping the environment.Constructs a new
Runtime
by mapping the environment.- Definition Classes
- Runtime
-
final
def
mapPlatform(f: (Platform) ⇒ Platform): Runtime[Clock with Console with System with Random with Blocking]
Constructs a new
Runtime
by mapping the platform.Constructs a new
Runtime
by mapping the platform.- 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
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
unsafeRun[E, A](zio: ZIO[Clock with Console with System with Random with Blocking, E, A]): 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[Clock with Console with System with Random with Blocking, E, A])(k: (Exit[E, A]) ⇒ Unit): 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
unsafeRunAsync_[E, A](zio: ZIO[Clock with Console with System with Random with Blocking, E, A]): 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
unsafeRunSync[E, A](zio: ZIO[Clock with Console with System with Random with Blocking, E, A]): Exit[E, A]
Executes the effect synchronously.
Executes the effect synchronously. May fail on Scala.js if the effect cannot be entirely run synchronously.
This method is effectful and should only be invoked at the edges of your program.
- Definition Classes
- Runtime
-
final
def
unsafeRunToFuture[E <: Throwable, A](io: ZIO[Clock with Console with System with Random with Blocking, E, A]): Future[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
- @native() @throws( ... )
-
final
def
withExecutor(e: Executor): Runtime[Clock with Console with System with Random with Blocking]
Constructs a new
Runtime
with the specified executor.Constructs a new
Runtime
with the specified executor.- Definition Classes
- Runtime
-
final
def
withFatal(f: (Throwable) ⇒ Boolean): Runtime[Clock with Console with System with Random with Blocking]
Constructs a new
Runtime
with the specified fatal predicate.Constructs a new
Runtime
with the specified fatal predicate.- Definition Classes
- Runtime
-
final
def
withReportFailure(f: (Cause[_]) ⇒ Unit): Runtime[Clock with Console with System with Random with Blocking]
Constructs a new
Runtime
with the specified error reporter.Constructs a new
Runtime
with the specified error reporter.- Definition Classes
- Runtime
-
final
def
withReportFatal(f: (Throwable) ⇒ Nothing): Runtime[Clock with Console with System with Random with Blocking]
Constructs a new
Runtime
with the fatal error reporter.Constructs a new
Runtime
with the fatal error reporter.- Definition Classes
- Runtime
-
final
def
withTracing(t: Tracing): Runtime[Clock with Console with System with Random with Blocking]
Constructs a new
Runtime
with the specified tracer and tracing configuration.Constructs a new
Runtime
with the specified tracer and tracing configuration.- Definition Classes
- Runtime
-
final
def
withTracingConfig(config: TracingConfig): Runtime[Clock with Console with System with Random with Blocking]
Constructs a new
Runtime
with the specified tracing configuration.Constructs a new
Runtime
with the specified tracing configuration.- Definition Classes
- Runtime