/** * Returns a new schedule that contramaps the input and maps the output. * * @tsplus static effect/core/io/Schedule.Aspects dimap * @tsplus pipeable effect/core/io/Schedule dimap */ export function dimap( f: (in2: In2) => In, g: (out: Out) => Out2 ) { return ( self: Schedule ): Schedule => self.contramap(f).map(g) }