import * as tsplus_module_1 from "@effect/core/collection/Chunk/operations/mapEffect";
import * as tsplus_module_2 from "@effect/core/stream/Sink/operations/contramapChunksEffect";
/**
 * Effectfully transforms this sink's input elements.
 *
 * @tsplus fluent ets/Sink contramapEffect
 */

export function contramapEffect_(self, f, __tsplusTrace) {
  return tsplus_module_2.contramapChunksEffect_(self, chunk => tsplus_module_1.mapEffect_(chunk, f, __tsplusTrace), __tsplusTrace);
}
/**
 * Effectfully transforms this sink's input elements.
 *
 * @tsplus static ets/Sink/Aspects contramapEffect
 */

export const contramapEffect = (f, __tsplusTrace) => self => contramapEffect_(self, f, __tsplusTrace);
//# sourceMappingURL=contramapEffect.mjs.map