Main

object Main extends ZioServerApp
trait CatsApp
trait App
trait Runtime[ZEnv]
class Object
trait Matchable
class Any
Main.type

Value members

Concrete methods

Inherited methods

def as[R1](r1: 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:
BootstrapRuntime
def map[R1](f: ZEnv => R1): Runtime[R1]

Constructs a new Runtime by mapping the environment.

Constructs a new Runtime by mapping the environment.

Inherited from:
Runtime

Constructs a new Runtime by mapping the platform.

Constructs a new Runtime by mapping the platform.

Inherited from:
Runtime

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.

Inherited from:
BootstrapRuntime
@nowarn("msg=dead code")
override def run(args: List[String]): ZIO[ZEnv, Nothing, ExitCode]
Definition Classes
Inherited from:
ZioServerApp
final def unsafeRun[E, A](zio: => ZIO[ZEnv, E, A]): 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[ZEnv, 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.

Inherited from:
Runtime
final def unsafeRunAsyncCancelable[E, A](zio: => ZIO[ZEnv, E, A])(k: Exit[E, A] => Any): Id => 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 unsafeRunAsync_[E, A](zio: ZIO[ZEnv, 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.

Inherited from:
Runtime
final def unsafeRunSync[E, A](zio: => ZIO[ZEnv, E, A]): Exit[E, A]

Executes the effect synchronously. May fail on Scala.js if the effect cannot be entirely run 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.

Inherited from:
Runtime
final def unsafeRunTask[A](task: => RIO[ZEnv, A]): 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 suppressed exceptions of the Throwable, 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 suppressed exceptions of the Throwable, 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[ZEnv, 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.

Inherited from:
Runtime

Constructs a new Runtime with the specified executor.

Constructs a new Runtime with the specified executor.

Inherited from:
Runtime
def withFatal(f: Throwable => Boolean): Runtime[ZEnv]

Constructs a new Runtime with the specified fatal predicate.

Constructs a new Runtime with the specified fatal predicate.

Inherited from:
Runtime
def withReportFailure(f: Cause[Any] => Unit): Runtime[ZEnv]

Constructs a new Runtime with the specified error reporter.

Constructs a new Runtime with the specified error reporter.

Inherited from:
Runtime
def withReportFatal(f: Throwable => Nothing): Runtime[ZEnv]

Constructs a new Runtime with the fatal error reporter.

Constructs a new Runtime with the fatal error reporter.

Inherited from:
Runtime

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

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

Inherited from:
Runtime

Constructs a new Runtime with the specified tracing configuration.

Constructs a new Runtime with the specified tracing configuration.

Inherited from:
Runtime
def withYieldOnStart(cond: Boolean): Runtime[ZEnv]

Constructs a new Runtime with the specified yield strategy.

Constructs a new Runtime with the specified yield strategy.

Inherited from:
Runtime

Implicits

Inherited implicits

implicit val runtime: Runtime[ZEnv]
Inherited from:
CatsApp