import * as SK from "../../Sink";
import * as Run from "./run";
/**
 * Consumes all elements of the stream, passing them to the specified callback.
 */

export function runForEachChunk_(self, f) {
  return Run.run_(self, SK.forEachChunk(f));
}
/**
 * Consumes all elements of the stream, passing them to the specified callback.
 *
 * @ets_data_first runForEachChunk_
 */

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