ZEnvironment

zio.ZEnvironment
See theZEnvironment companion class
object ZEnvironment

Attributes

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

Members list

Type members

Classlikes

object Patch

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Patch.type
sealed trait Patch[-In, +Out]

A Patch[In, Out] describes an update that transforms a ZEnvironment[In] to a ZEnvironment[Out] as a data structure. This allows combining updates to different services in the environment in a compositional way.

A Patch[In, Out] describes an update that transforms a ZEnvironment[In] to a ZEnvironment[Out] as a data structure. This allows combining updates to different services in the environment in a compositional way.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Self type
Patch[In, Out]

Value members

Concrete methods

def apply(): ZEnvironment[Any]

Constructs a new environment holding no services.

Constructs a new environment holding no services.

Attributes

def apply[A : Tag](a: A): ZEnvironment[A]

Constructs a new environment holding the single service.

Constructs a new environment holding the single service.

Attributes

def apply[A : Tag, B : Tag](a: A, b: B): ZEnvironment[A & B]

Constructs a new environment holding the specified services.

Constructs a new environment holding the specified services.

Attributes

def apply[A : Tag, B : Tag, C : Tag](a: A, b: B, c: C): ZEnvironment[A & B & C]

Constructs a new environment holding the specified services.

Constructs a new environment holding the specified services.

Attributes

def apply[A : Tag, B : Tag, C : Tag, D : Tag](a: A, b: B, c: C, d: D): ZEnvironment[A & B & C & D]

Constructs a new environment holding the specified services.

Constructs a new environment holding the specified services.

Attributes

def apply[A : Tag, B : Tag, C : Tag, D : Tag, E : Tag](a: A, b: B, c: C, d: D, e: E): ZEnvironment[A & B & C & D & E]

Constructs a new environment holding the specified services.

Constructs a new environment holding the specified services.

Attributes

Concrete fields

val empty: ZEnvironment[Any]

The empty environment containing no services.

The empty environment containing no services.

Attributes