import * as SK from "../../Sink";
import * as RunManaged from "./runManaged";
/**
 * Like `Stream#forEachChunk`, but returns a `Managed` so the finalization order
 * can be controlled.
 */

export function runForEachChunkManaged_(self, f) {
  return RunManaged.runManaged_(self, SK.forEachChunk(f));
}
/**
 * Like `Stream#forEachChunk`, but returns a `Managed` so the finalization order
 * can be controlled.
 */

export function runForEachChunkManaged(f) {
  return self => runForEachChunkManaged_(self, f);
}
//# sourceMappingURL=runForEachChunkManaged.js.map