FunctionConstructor

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.

Companion:
object
class Object
trait Matchable
class Any

Type members

Types

type Out

The type of the ZLayer value.

The type of the ZLayer value.

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.