UNPKG

ix

Version:

The Interactive Extensions for JavaScript

10 lines (8 loc) 452 B
import { AsyncIterableX } from '../../asynciterable/asynciterablex.mjs'; import { GroupByAsyncIterable, } from '../../asynciterable/operators/groupby.mjs'; import { identityAsync } from '../../util/identity.mjs'; export function groupByProto(keySelector, elementSelector = identityAsync) { return new GroupByAsyncIterable(this, keySelector, elementSelector); } AsyncIterableX.prototype.groupBy = groupByProto; //# sourceMappingURL=groupby.mjs.map