code: public RemoteAggregateIterable<DocumentT> aggregate(final List<? extends Bson> pipeline) {
      return new RemoteAggregateIterableImpl<>(proxy.aggregate(pipeline), dispatcher);
    }
docs: Aggregates documents according to the specified aggregation pipeline.
  
  @param pipeline the aggregation pipeline
  @return an iterable containing the result of the aggregation operation