Packages

trait Runtime[+R] extends AnyRef

A Runtime[R] is capable of executing tasks within an environment R.

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

Abstract Value Members

  1. abstract val environment: R

    The environment of the runtime.

  2. abstract val platform: Platform

    The platform of the runtime, which provides the essential capabilities necessary to bootstrap execution of tasks.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def as[R1](r1: R1): Runtime[R1]

    Constructs a new Runtime with the specified new environment.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def map[R1](f: (R) ⇒ R1): Runtime[R1]

    Constructs a new Runtime by mapping the environment.

  14. def mapPlatform(f: (Platform) ⇒ Platform): Runtime[R]

    Constructs a new Runtime by mapping the platform.

  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def unsafeRun[E, A](zio: ⇒ ZIO[R, 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.

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

  22. final def unsafeRunAsync_[E, A](zio: ZIO[R, 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.

  23. final def unsafeRunSync[E, A](zio: ⇒ ZIO[R, 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.

  24. final def unsafeRunTask[A](task: ⇒ ZIO[R, Throwable, A]): A

    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.

  25. final def unsafeRunToFuture[E <: Throwable, A](zio: ZIO[R, E, A]): 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.

  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  29. def withExecutor(e: Executor): Runtime[R]

    Constructs a new Runtime with the specified executor.

  30. def withFatal(f: (Throwable) ⇒ Boolean): Runtime[R]

    Constructs a new Runtime with the specified fatal predicate.

  31. def withReportFailure(f: (Cause[Any]) ⇒ Unit): Runtime[R]

    Constructs a new Runtime with the specified error reporter.

  32. def withReportFatal(f: (Throwable) ⇒ Nothing): Runtime[R]

    Constructs a new Runtime with the fatal error reporter.

  33. def withTracing(t: Tracing): Runtime[R]

    Constructs a new Runtime with the specified tracer and tracing configuration.

  34. def withTracingConfig(config: TracingConfig): Runtime[R]

    Constructs a new Runtime with the specified tracing configuration.

Inherited from AnyRef

Inherited from Any

Ungrouped