Skip to main content
Version: 1.0.18

Layer

Layer[+E, +ROut] is a type alias for ZLayer[Any, E, ROut], which represents a layer that doesn't require any services, it may fail with an error type of E, and returns ROut as its output.

type Layer[+E, +ROut] = ZLayer[Any, E, ROut]