// ets_tracing: off import type * as T from "../../../Effect/index.js" import * as CH from "../Channel/index.js" import * as C from "./core.js" /** * Effectfully transforms this sink's result. */ export function mapEffect_( self: C.Sink, f: (z: Z) => T.Effect ): C.Sink { return new C.Sink(CH.mapEffect_(self.channel, f)) } /** * Effectfully transforms this sink's result. * * @ets_data_first mapEffect_ */ export function mapEffect(f: (z: Z) => T.Effect) { return (self: C.Sink) => mapEffect_(self, f) }