ZEnvironment

Companion:
class
class Object
trait Matchable
class Any

Type members

Classlikes

object Patch
Companion:
class
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.

Companion:
object

Value members

Concrete methods

def apply(): ZEnvironment[Any]

Constructs a new environment holding no services.

Constructs a new environment holding no services.

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

Constructs a new environment holding the single service.

Constructs a new environment holding the single service.

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

Constructs a new environment holding the specified services. The service must be monomorphic. Parameterized services are not supported.

Constructs a new environment holding the specified services. The service must be monomorphic. Parameterized services are not supported.

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. The service must be monomorphic. Parameterized services are not supported.

Constructs a new environment holding the specified services. The service must be monomorphic. Parameterized services are not supported.

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. The service must be monomorphic. Parameterized services are not supported.

Constructs a new environment holding the specified services. The service must be monomorphic. Parameterized services are not supported.

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. The service must be monomorphic. Parameterized services are not supported.

Constructs a new environment holding the specified services. The service must be monomorphic. Parameterized services are not supported.

Concrete fields

The empty environment containing no services.

The empty environment containing no services.