// tracing: off
import { pipe } from "../../Function"
import * as M from "../_internal/managed"
import { runManaged } from "./runManaged"
/**
 * Runs the sink on the stream to produce either the sink's result or an error.
 */

export function run_(self, sink) {
  return M.useNow(runManaged(sink)(self))
}
/**
 * Runs the sink on the stream to produce either the sink's result or an error.
 */

export function run(sink) {
  return (self) => run_(self, sink)
}
//# sourceMappingURL=run.js.map
