Package: effect
Module: Layer
Extracts the service requirements (RIn) from a Layer type.
When to use
Use to derive the dependency requirements of a generic or inferred Layer
without restating its RIn type parameter.
See
Success for extracting the services provided by the same LayerError for extracting the construction failure type from the same LayerSignature
type Services<T> = T extends infer L
? L extends Layer<infer _ROut, infer _E, infer _RIn> ? _RIn : never
: never
Since v4.0.0