// ets_tracing: off
import { pipe } from "../../../../Function";
import * as CH from "../../Channel";
export function runManaged_(self, sink) {
  return CH.runManaged(CH.drain(CH.pipeTo_(self.channel, sink.channel)));
}
/**
 * @ets_data_first runManaged_
 */

export function runManaged(sink) {
  return self => runManaged_(self, sink);
}
//# sourceMappingURL=runManaged.js.map