import * as tsplus_module_1 from "@tsplus/stdlib/collections/Chunk/map";
import * as tsplus_module_2 from "@effect/core/stream/Sink/operations/contramapChunks";
/**
 * Transforms this sink's input elements.
 *
 * @tsplus fluent ets/Sink contramap
 */

export function contramap_(self, f, __tsplusTrace) {
  return tsplus_module_2.contramapChunks_(self, chunk => tsplus_module_1.map_(chunk, f), __tsplusTrace);
}
/**
 * Transforms this sink's input elements.
 *
 * @tsplus static ets/Sink/Aspects contramap
 */

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