// ets_tracing: off import type * as Tp from "../../../../Collections/Immutable/Tuple/index.js" import type * as T from "../../../../Effect/index.js" import * as GB from "../../GroupBy/index.js" import type * as C from "../core.js" /** * More powerful version of `Stream.groupByKey` */ export function groupBy_( self: C.Stream, f: (a: A) => T.Effect>, buffer = 16 ): GB.GroupBy { return GB.make_(self, f, buffer) } /** * More powerful version of `Stream.groupByKey` * * @ets_data_first groupBy_ */ export function groupBy( f: (a: A) => T.Effect>, buffer = 16 ) { return (self: C.Stream) => groupBy_(self, f, buffer) }