Success<P>Extracts the success type from a Pull type.
When to use
Use to derive the value produced by an existing Pull when declaring
reusable type aliases, low-level stream helpers, or function signatures.
Source effect/Pull.ts:591 lines
export type type Success<P> = P extends Effect<
infer _A,
infer _E,
infer _R
>
? _A
: never
Extracts the success type from a Pull type.
When to use
Use to derive the value produced by an existing Pull when declaring
reusable type aliases, low-level stream helpers, or function signatures.
Success<function (type parameter) P in type Success<P>P> = function (type parameter) P in type Success<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) _A_A : never