removeInflightRequest method

void removeInflightRequest(
  1. HttpRequest request
)

Remove request from this bucket's in-flight requests.

In flight requests are requests that have been sent by the client but have not yet received a response from the API. These requests count towards the remaining count to avoid sending too many requests at once.

Implementation

void removeInflightRequest(HttpRequest request) => _inflightRequests.remove(request);