import * as CH from "../Channel";
import * as C from "./core";
/**
 * Effectfully transforms this sink's result.
 */

export function mapEffect_(self, f) {
  return new C.Sink(CH.mapEffect_(self.channel, f));
}
/**
 * Effectfully transforms this sink's result.
 *
 * @ets_data_first mapEffect_
 */

export function mapEffect(f) {
  return self => mapEffect_(self, f);
}
//# sourceMappingURL=mapEffect.js.map