Package: effect
Module: Effect
Extracts the required services type from an Effect.
When to use
Use to derive the context requirements of a generic or inferred Effect
without restating its R type parameter.
See
Success for extracting the success value type insteadError for extracting the failure type insteadSignature
type Services<T> = T extends Effect<infer _A, infer _E, infer _R> ? _R
: never
Since v4.0.0