@reactivex/ix-es2015-cjs
Version:
The Interactive Extensions for JavaScript
14 lines (12 loc) • 632 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.groupByProto = void 0;
const asynciterablex_js_1 = require("../../asynciterable/asynciterablex.js");
const groupby_js_1 = require("../../asynciterable/operators/groupby.js");
const identity_js_1 = require("../../util/identity.js");
function groupByProto(keySelector, elementSelector = identity_js_1.identityAsync) {
return new groupby_js_1.GroupByAsyncIterable(this, keySelector, elementSelector);
}
exports.groupByProto = groupByProto;
asynciterablex_js_1.AsyncIterableX.prototype.groupBy = groupByProto;
//# sourceMappingURL=groupby.js.map