/** * The same as `either` followed by `map`. * * @tsplus static effect/core/io/Schedule.Aspects eitherWith * @tsplus pipeable effect/core/io/Schedule eitherWith */ export function eitherWith( that: Schedule, f: (out: Out, out2: Out2) => Out3 ) { return ( self: Schedule ): Schedule => self.union(that).map(([out, out2]) => f(out as Out, out2 as Out2)) }