import { concreteSink, SinkInternal } from "@effect/core/stream/Sink/operations/_internal/SinkInternal" /** * Transforms this sink's result. * * @tsplus static effect/core/stream/Sink.Aspects map * @tsplus pipeable effect/core/stream/Sink map */ export function map(f: (z: Z) => Z2) { return (self: Sink): Sink => { concreteSink(self) return new SinkInternal(self.channel.map(f)) } }