code: public static Function<Client<HttpRequest, HttpResponse>, ConcurrencyLimitingHttpClient>
      newDecorator(int maxConcurrency) {
          validateMaxConcurrency(maxConcurrency);
          return delegate -> new ConcurrencyLimitingHttpClient(delegate, maxConcurrency);
      }
docs: Creates a new {@link Client} decorator that limits the concurrent number of active HTTP requests.