effect-io-ai

Package: effect
Module: Effect

Effect.Services

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

Signature

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

Source

Since v4.0.0