OSSCancellationTokenRegistration Class Reference
Inherits from | NSObject |
Declared in | OSSCancellationTokenRegistration.h OSSCancellationTokenRegistration.m |
Overview
Represents the registration of a cancellation observer with a cancellation token. Can be used to unregister the observer at a later time.
Instance Methods
dispose
Removes the cancellation observer registered with the token and releases all resources associated with this registration.
- (void)dispose
Discussion
Removes the cancellation observer registered with the token and releases all resources associated with this registration.
Declared In
OSSCancellationTokenRegistration.h