洛阳学员端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
751 B

8 months ago
  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 OSSCancellationTokenRegistration : 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