FunctionConstructor

zio.ZLayer.FunctionConstructor
See theFunctionConstructor companion object

A FunctionConstructor[Input] knows how to construct a ZLayer value from a function of type Input. This allows the type of the ZLayer value constructed to depend on Input.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Type members

Types

type Out

The type of the ZLayer value.

The type of the ZLayer value.

Attributes

Value members

Abstract methods

def apply(in: In)(implicit trace: Trace): Out

Constructs a ZLayer value from the specified input.

Constructs a ZLayer value from the specified input.

Attributes