effect-io-ai

Package: effect
Module: Pull

Pull.Services

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

Signature

type Services<P> = P extends Effect<infer _A, infer _E, infer _R> ? _R : never

Source

Since v4.0.0