Hyperlinkv0.8.0-beta.28

Pull

Pull.isDoneCauseconsteffect/Pull.ts:186
<E>(cause: Cause.Cause<E>): boolean

Checks whether a Cause contains any done errors.

When to use

Use when you need to test whether a pull failure cause represents normal completion and only need a boolean result.

Source effect/Pull.ts:1861 lines
export const isDoneCause = <E>(cause: Cause.Cause<E>): boolean => cause.reasons.some(isDoneFailure)
Referenced by 6 symbols