AWSCancellationTokenSource

Objective-C

@interface AWSCancellationTokenSource : NSObject

Swift

class AWSCancellationTokenSource : NSObject

Undocumented

  • Undocumented

    Declaration

    Objective-C

    + (nonnull instancetype)cancellationTokenSource;
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) AWSCancellationToken *_Nonnull token;

    Swift

    var token: AWSCancellationToken { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readonly,
              getter=isCancellationRequested) BOOL cancellationRequested;

    Swift

    var isCancellationRequested: Bool { get }
  • Undocumented

    Declaration

    Objective-C

    - (void)cancel;

    Swift

    func cancel()
  • Undocumented

    Declaration

    Objective-C

    - (void)cancelAfterDelay:(int)millis;

    Swift

    func cancel(afterDelay millis: Int32)
  • Undocumented

    Declaration

    Objective-C

    - (void)dispose;

    Swift

    func dispose()