/** * Returns a new schedule that maps this schedule to a constant output. * * @tsplus static effect/core/io/Schedule.Aspects as * @tsplus pipeable effect/core/io/Schedule as */ export function as(out2: Out2) { return ( self: Schedule ): Schedule => self.map(() => out2) }