/** * Keeps some of the errors, and terminates the fiber with the rest. * * @tsplus static effect/core/stream/Stream.Aspects refineOrDie * @tsplus pipeable effect/core/stream/Stream refineOrDie */ export function refineOrDie(pf: (e: E) => Maybe) { return (self: Stream): Stream => self.refineOrDieWith(pf, identity) }