TKMCancellationTokenRegistration
public protocol TKMCancellationTokenRegistration
A registration returned by TKMCancellationToken.register(observer:)
. Can be used to
cancel the registration.
-
Cancels the registration to a
TKMCancellationToken
. Implementations of this method should not throw even if called multiple times or if the token is already in cancelled state.Declaration
Swift
func close()