ZIOApp

zio.ZIOApp$
See theZIOApp companion trait
object ZIOApp

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
ZIOApp.type

Members list

Type members

Classlikes

class Proxy(val app: ZIOApp) extends ZIOApp

A class which can be extended by an object to convert a description of a ZIO application as a value into a runnable application.

A class which can be extended by an object to convert a description of a ZIO application as a value into a runnable application.

Attributes

Supertypes
trait ZIOApp
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[R](run0: ZIO[R & ZIOAppArgs & Scope, Any, Any], bootstrap0: ZLayer[ZIOAppArgs, Any, R])(implicit tagged: Tag[R]): ZIOApp

Creates a ZIOApp from an effect, which can consume the arguments of the program, as well as a hook into the ZIO runtime configuration.

Creates a ZIOApp from an effect, which can consume the arguments of the program, as well as a hook into the ZIO runtime configuration.

Attributes

def fromZIO(run0: ZIO[ZIOAppArgs, Any, Any])(implicit trace: Trace): ZIOApp

Creates a ZIOApp from an effect, using the unmodified default runtime's configuration.

Creates a ZIOApp from an effect, using the unmodified default runtime's configuration.

Attributes