Package: effect
Module: Effect
Extracts the success type from an Effect.
When to use
Use to derive the value produced by an existing effect when declaring reusable type aliases, service interfaces, or function signatures.
See
Error for extracting the failure type from the same EffectServices for extracting the required services from the same EffectSignature
type Success<T> = T extends Effect<infer _A, infer _E, infer _R> ? _A
: never
Since v2.0.0