pending_requests Property
The number of requests awaiting completion.
Syntax
def get_pending_requests() -> int: ... def set_pending_requests(value: int) -> None: ...
pending_requests = property(get_pending_requests, set_pending_requests)
Default Value
0
Remarks
This property serves two functions: it shows the number of requests that are pending completion, but it can also be used to adjust the size of the queue by dumping part of or all the pending requests.
To cancel all the pending requests at any moment, simply set pending_requests to 0.
NOTE: This functionality is only available in Windows.