BooleanDisposable
public class BooleanDisposable : Disposable, 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(disposed: Bool) -
Declaration
Swift
public var disposed: BoolReturn Value
Was resource disposed.
-
Sets the status to disposed, which can be observer through the
disposedproperty.Declaration
Swift
public func dispose()
BooleanDisposable Class Reference