/** * Partitions the stream with specified chunkSize * * @param chunkSize The size of the chunks to emit. * * @tsplus static effect/core/stream/Stream.Aspects grouped * @tsplus pipeable effect/core/stream/Stream grouped */ export function grouped(chunkSize: number) { return (self: Stream): Stream> => self.rechunk(chunkSize).chunks }