WebcomCancellation
@frozen
public enum WebcomCancellation : Equatable, CustomStringConvertible
A value that represents how a subscription was cancelled.
-
Indicates that subscription was cancelled explicitly.
This happens when the
AuthenticationSubscription.cancel()or theDatasyncSubscription.cancel()method is called.Declaration
Swift
case explicit -
Indicates that subscription was cancelled implicitly.
This happens when the instance representing the subscription in deinitialized. For a
DatasyncSubscription, it also happens when it is stored in aDatasyncManagerwhich is deinitialized.Declaration
Swift
case implicit
-
Declaration
Swift
public var description: String { get }