import * as tsplus_module_1 from "@tsplus/stdlib/collections/Chunk/map";
import * as tsplus_module_2 from "@effect/core/stream/Channel/operations/mapOut";
import { concreteStream, StreamInternal } from "@effect/core/stream/Stream/operations/_internal/StreamInternal";
/**
 * Transforms the elements of this stream using the supplied function.
 *
 * @tsplus fluent ets/Stream map
 */

export function map_(self, f, __tsplusTrace) {
  void 0;
  return new StreamInternal(tsplus_module_2.mapOut_(self.channel, chunk => tsplus_module_1.map_(chunk, f)));
}
/**
 * Transforms the elements of this stream using the supplied function.
 *
 * @tsplus static ets/Stream/Aspects map
 */

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