import * as tsplus_module_1 from "@effect/core/stream/Stream/operations/rechunk";
import * as tsplus_module_2 from "@effect/core/stream/Stream/operations/chunks";
/**
 * Partitions the stream with specified chunkSize
 *
 * @param chunkSize The size of the chunks to emit.
 *
 * @tsplus fluent ets/Stream grouped
 */

export function grouped_(self, chunkSize, __tsplusTrace) {
  return tsplus_module_2.chunks(tsplus_module_1.rechunk_(self, chunkSize, __tsplusTrace), __tsplusTrace);
}
/**
 * Partitions the stream with specified chunkSize
 *
 * @param chunkSize The size of the chunks to emit.
 *
 * @tsplus static ets/Stream/Aspects grouped
 */

export const grouped = (chunkSize, __tsplusTrace) => self => grouped_(self, chunkSize, __tsplusTrace);
//# sourceMappingURL=grouped.mjs.map