Services<P>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.
Source effect/Pull.ts:1141 lines
export type type Services<P> = P extends Effect<
infer _A,
infer _E,
infer _R
>
? _R
: never
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.
Services<function (type parameter) P in type Services<P>P> = function (type parameter) P in type Services<P>P extends import EffectEffect<infer function (type parameter) _A_A, infer function (type parameter) _E_E, infer function (type parameter) _R_R> ? function (type parameter) _R_R : never