Hyperlinkv0.8.0-beta.28

Effect

Effect.Servicestypeeffect/Effect.ts:211
Services<T>

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.

Source effect/Effect.ts:2112 lines
export type Services<T> = T extends Effect<infer _A, infer _E, infer _R> ? _R
  : never
Referenced by 9 symbols