Package: effect
Module: Pull
Keeps a Cause only when it contains no Cause.Done failures.
When to use
Use to select ordinary failure causes for handling while leaving Cause.Done
completion causes outside that handler.
Details
Returns a successful Result with the cause when every failure is non-done;
otherwise returns a failed Result with the original cause.
See
filterDone for the inverse typed done filterfilterDoneVoid for done detection when the payload is not neededSignature
declare const filterNoDone: <E>(input: Cause.Cause<E>) => Result.Result<Cause.Cause<ExcludeDone<E>>, Cause.Cause<E>>
Since v4.0.0