import * as tsplus_module_1 from "@effect/core/stream/Channel/operations/pipeTo";
import { concreteStream, StreamInternal } from "@effect/core/stream/Stream/operations/_internal/StreamInternal";
/**
 * Pipes all the values from this stream through the provided channel.
 *
 * @tsplus fluent ets/Stream pipeThroughChannel
 */

export function pipeThroughChannel_(self, channel, __tsplusTrace) {
  void 0;
  return new StreamInternal(tsplus_module_1.pipeTo_(self.channel, channel));
}
/**
 * Pipes all the values from this stream through the provided channel.
 *
 * @tsplus static ets/Stream/Aspects pipeThroughChannel
 */

export const pipeThroughChannel = (channel, __tsplusTrace) => self => pipeThroughChannel_(self, channel, __tsplusTrace);
//# sourceMappingURL=pipeThroughChannel.mjs.map