/** * Effectfully transforms both inputs and result of this sink using the * provided functions. * * @tsplus static effect/core/stream/Sink.Aspects dimapEffect * @tsplus pipeable effect/core/stream/Sink dimapEffect */ export function dimapEffect( f: (input: In1) => Effect, g: (z: Z) => Z1 ) { return (self: Sink): Sink => self.contramapEffect(f).map(g) }