Hyperlinkv0.8.0-beta.28

Pull

Pull.Leftovertypeeffect/Pull.ts:96
Leftover<P>

Extracts the leftover type from a Pull type.

When to use

Use to derive the completion leftover type from an existing Pull when declaring reusable type aliases or helper signatures that preserve a pull's done value.

type extractorsSuccessErrorServices
Source effect/Pull.ts:962 lines
export type Leftover<P> = P extends Effect<infer _A, infer _E, infer _R> ? _E extends Cause.Done<infer _L> ? _L : never
  : never