/** * Transforms this sink's input elements. * * @tsplus static effect/core/stream/Sink.Aspects contramap * @tsplus pipeable effect/core/stream/Sink contramap */ export function contramap(f: (input: In1) => In) { return (self: Sink): Sink => self.contramapChunks((chunk) => chunk.map(f)) }