"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.first = void 0;
exports.first_ = first_;

var _GroupByInternal = /*#__PURE__*/require("@effect/core/stream/GroupBy/operations/_internal/GroupByInternal");

const fileName_1 = "(@effect/core) _src/stream/GroupBy/operations/first.ts";

/**
 * Only consider the first `n` groups found in the stream.
 *
 * @tsplus fluent ets/GroupBy first
 */
function first_(self, n) {
  void 0;
  return self.first(n, fileName_1 + ":13:20");
}
/**
 * Only consider the first `n` groups found in the stream.
 *
 * @tsplus static ets/GroupBy/Aspects first
 */


const first = n => self => first_(self, n);

exports.first = first;
//# sourceMappingURL=first.js.map