Aucune description

AWSCancellationTokenRegistration.h 751B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * Copyright (c) 2014, Facebook, Inc.
  3. * All rights reserved.
  4. *
  5. * This source code is licensed under the BSD-style license found in the
  6. * LICENSE file in the root directory of this source tree. An additional grant
  7. * of patent rights can be found in the PATENTS file in the same directory.
  8. *
  9. */
  10. #import <Foundation/Foundation.h>
  11. NS_ASSUME_NONNULL_BEGIN
  12. /*!
  13. Represents the registration of a cancellation observer with a cancellation token.
  14. Can be used to unregister the observer at a later time.
  15. */
  16. @interface AWSCancellationTokenRegistration : NSObject
  17. /*!
  18. Removes the cancellation observer registered with the token
  19. and releases all resources associated with this registration.
  20. */
  21. - (void)dispose;
  22. @end
  23. NS_ASSUME_NONNULL_END