Trait

zio

DefaultRuntime

Related Doc: package zio

Permalink

trait DefaultRuntime extends Runtime[ZEnv]

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DefaultRuntime
  2. Runtime
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def as[R1](r1: R1): Runtime[R1]

    Permalink

    Constructs a new Runtime with the specified new environment.

    Constructs a new Runtime with the specified new environment.

    Definition Classes
    Runtime
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val environment: zio.ZEnv

    Permalink

    The environment of the runtime.

    The environment of the runtime.

    Definition Classes
    DefaultRuntimeRuntime
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def map[R1](f: (zio.ZEnv) ⇒ R1): Runtime[R1]

    Permalink

    Constructs a new Runtime by mapping the environment.

    Constructs a new Runtime by mapping the environment.

    Definition Classes
    Runtime
  15. final def mapPlatform(f: (Platform) ⇒ Platform): Runtime[zio.ZEnv]

    Permalink

    Constructs a new Runtime by mapping the platform.

    Constructs a new Runtime by mapping the platform.

    Definition Classes
    Runtime
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. val platform: Platform

    Permalink

    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
    DefaultRuntimeRuntime
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def unsafeRun[E, A](zio: ⇒ ZIO[zio.ZEnv, E, A]): A

    Permalink

    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
  23. final def unsafeRunAsync[E, A](zio: ⇒ ZIO[zio.ZEnv, E, A])(k: (Exit[E, A]) ⇒ Unit): Unit

    Permalink

    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
  24. final def unsafeRunAsync_[E, A](zio: ZIO[zio.ZEnv, E, A]): Unit

    Permalink

    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
  25. final def unsafeRunSync[E, A](zio: ⇒ ZIO[zio.ZEnv, E, A]): Exit[E, A]

    Permalink

    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
  26. final def unsafeRunToFuture[E <: Throwable, A](io: ZIO[zio.ZEnv, E, A]): CancelableFuture[E, A]

    Permalink

    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
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def withExecutor(e: Executor): Runtime[zio.ZEnv]

    Permalink

    Constructs a new Runtime with the specified executor.

    Constructs a new Runtime with the specified executor.

    Definition Classes
    Runtime
  31. final def withFatal(f: (Throwable) ⇒ Boolean): Runtime[zio.ZEnv]

    Permalink

    Constructs a new Runtime with the specified fatal predicate.

    Constructs a new Runtime with the specified fatal predicate.

    Definition Classes
    Runtime
  32. final def withReportFailure(f: (Cause[Any]) ⇒ Unit): Runtime[zio.ZEnv]

    Permalink

    Constructs a new Runtime with the specified error reporter.

    Constructs a new Runtime with the specified error reporter.

    Definition Classes
    Runtime
  33. final def withReportFatal(f: (Throwable) ⇒ Nothing): Runtime[zio.ZEnv]

    Permalink

    Constructs a new Runtime with the fatal error reporter.

    Constructs a new Runtime with the fatal error reporter.

    Definition Classes
    Runtime
  34. final def withTracing(t: Tracing): Runtime[zio.ZEnv]

    Permalink

    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
  35. final def withTracingConfig(config: TracingConfig): Runtime[zio.ZEnv]

    Permalink

    Constructs a new Runtime with the specified tracing configuration.

    Constructs a new Runtime with the specified tracing configuration.

    Definition Classes
    Runtime

Deprecated Value Members

  1. final def const[R1](r1: R1): Runtime[R1]

    Permalink
    Definition Classes
    Runtime
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use as

Inherited from Runtime[zio.ZEnv]

Inherited from AnyRef

Inherited from Any

Ungrouped