AWSCancellationToken
Objective-C
@interface AWSCancellationToken : NSObject
Swift
class AWSCancellationToken : NSObject
Undocumented
-
Undocumented
Declaration
Objective-C
@property (nonatomic, assign, unsafe_unretained, readonly, getter=isCancellationRequested) BOOL cancellationRequested;
Swift
var isCancellationRequested: Bool { get }
-
Undocumented
Declaration
Objective-C
- (nonnull AWSCancellationTokenRegistration *) registerCancellationObserverWithBlock:(nonnull AWSCancellationBlock)block;
Swift
func registerCancellationObserver(_ block: @escaping AWSCancellationBlock) -> AWSCancellationTokenRegistration