import * as tsplus_module_1 from "@effect/core/stream/Sink/operations/forEachChunk";
import * as tsplus_module_2 from "@effect/core/stream/Stream/operations/run";
/**
 * Consumes all elements of the stream, passing them to the specified
 * callback.
 *
 * @tsplus fluent ets/Stream runForEachChunk
 */

export function runForEachChunk_(self, f, __tsplusTrace) {
  return tsplus_module_2.run_(self, () => tsplus_module_1.forEachChunk(f, __tsplusTrace), __tsplusTrace);
}
/**
 * Consumes all elements of the stream, passing them to the specified
 * callback.
 *
 * @tsplus static ets/Stream/Aspects runForEachChunk
 */

export const runForEachChunk = (f, __tsplusTrace) => self => runForEachChunk_(self, f, __tsplusTrace);
//# sourceMappingURL=runForEachChunk.mjs.map