/** * Returns a new schedule that maps the output of this schedule through the * specified function. * * @tsplus static effect/core/io/Schedule.Aspects map * @tsplus pipeable effect/core/io/Schedule map */ export function map(f: (out: Out) => Out2) { return (self: Schedule): Schedule => self.mapEffect((out) => Effect.sync(f(out))) }