Subscription
open class Subscription : CancellableAn object that represents a subscription to a Storage update.
- 
                  
                  DeclarationSwift public static func == (lhs: Subscription, rhs: Subscription) -> Bool
- 
                  
                  A closure that will be called when the subscription is cancelled. DeclarationSwift public typealias CancelClosure = () -> Void
- 
                  
                  Create a new subscription that will call the provided closure when cancelled. DeclarationSwift public required init(cancel: @escaping CancelClosure)ParameterscancelThe closure to call when the subscription is cancelled. 
- 
                  
                  Cancel the update subscription, preventing further updates being sent to the update listener, freeing any resources held on to by the subscription. DeclarationSwift open func cancel()
- 
                  
                  DeclarationSwift open func hash(into hasher: inout Hasher)
 View on GitHub
View on GitHub Subscription Class Reference
        Subscription Class Reference