/** * Effectfully transforms this sink's input elements. * * @tsplus static effect/core/stream/Sink.Aspects contramapEffect * @tsplus pipeable effect/core/stream/Sink contramapEffect */ export function contramapEffect( f: (input: In0) => Effect ) { return (self: Sink): Sink => self.contramapChunksEffect((chunk) => Effect.forEach(chunk, f)) }