/** * Sequentially zips the this result with the specified result or else returns * the failed `Cause`. * * @tsplus static effect/core/io/Exit.Aspects zip * @tsplus pipeable effect/core/io/Exit zip */ export function zip(that: Exit) { return (self: Exit): Exit => self.zipWith( that, (a, b) => [a, b] as const, Cause.then ) }