"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.pipeTo = void 0;
exports.pipeTo_ = pipeTo_;

var _primitives = /*#__PURE__*/require("@effect/core/stream/Channel/definition/primitives");

/**
 * Pipe the output of a channel into the input of another.
 *
 * @tsplus operator ets/Channel >>
 * @tsplus fluent ets/Channel pipeTo
 */
function pipeTo_(self, that) {
  return new _primitives.PipeTo(() => self, that);
}
/**
 * Pipe the output of a channel into the input of another.
 *
 * @tsplus static ets/Channel/Aspects pipeTo
 */


const pipeTo = that => self => pipeTo_(self, that);

exports.pipeTo = pipeTo;
//# sourceMappingURL=pipeTo.js.map