Package: effect
Module: Pull
Extracts the service requirements (context) type from a Pull type.
When to use
Use to derive the context requirements of a generic or inferred Pull
without restating its R type parameter.
See
Success for extracting the pulled value type insteadError for extracting the ordinary failure typeLeftover for extracting the completion leftover typeSignature
type Services<P> = P extends Effect<infer _A, infer _E, infer _R> ? _R : never
Since v4.0.0