// ets_tracing: off import * as CH from "../Channel/index.js" import * as C from "./core.js" /** * Transforms this sink's result. */ export function map_( self: C.Sink, f: (z: Z) => Z1 ): C.Sink { return new C.Sink(CH.map_(self.channel, f)) } /** * Transforms this sink's result. * * @ets_data_first map_ */ export function map(f: (z: Z) => Z1) { return (self: C.Sink) => map_(self, f) }