/** * Returns a new schedule that chooses between two schedules with a common * output. * * @tsplus static effect/core/io/Schedule.Aspects chooseMerge * @tsplus pipeable effect/core/io/Schedule chooseMerge */ export function chooseMerge( that: Schedule ) { return ( self: Schedule ): Schedule, Out | Out2> => (self + that).map((either) => either.merge) }