Cancels the subscription.
func cancel()
s16ServiceDiscovery17CancellationTokenC6cancelyyF
7Z6RJ
import ServiceDiscovery
A Service Discovery API for Swift.
final class CancellationToken
Enables cancellation of service discovery subscription.
@preconcurrency init(isCancelled: Bool = false, completionHandler: @escaping (CompletionReason) -> Void = { _ in })
Creates a new token.
var isCancelled: Bool { get }
Returns true if the subscription has been cancelled.
true