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