BooleanDisposable
public final class BooleanDisposable : Cancelable
                Represents a disposable resource that can be checked for disposal status.
- 
                  
                  
Initializes a new instance of the
BooleanDisposableclassDeclaration
Swift
public init() - 
                  
                  
Initializes a new instance of the
BooleanDisposableclass with given valueDeclaration
Swift
public init(isDisposed: Bool) - 
                  
                  
Declaration
Swift
public var isDisposed: Bool { get }Return Value
Was resource disposed.
 - 
                  
                  
Sets the status to disposed, which can be observer through the
isDisposedproperty.Declaration
Swift
public func dispose() 
        BooleanDisposable Class Reference