pendingRequests (property)

The number of requests awaiting completion.

Syntax

@property (nonatomic,readwrite,assign,getter=pendingRequests,setter=setPendingRequests:) int pendingRequests;
- (int)pendingRequests;
- (void)setPendingRequests:(int)newPendingRequests;
public var pendingRequests: Int32 {
  get {...}
set {...} }

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 PendingRequests to 0.

NOTE: This functionality is only available in Windows.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 iOS Edition - Version 20.0 [Build 8307]