Disposable
-
A type-erased disposable that forwards operations to an underlying disposable.
See moreDeclaration
Swift
public final class AnyDisposable : Disposable
-
Represents something that can be “disposed”, usually associated with freeing resources or canceling work.
See moreDeclaration
Swift
public protocol Disposable : AnyObject
-
A disposable that will dispose of any number of other disposables.
See moreDeclaration
Swift
public final class CompositeDisposable : Disposable
-
A disposable that, upon deinitialization, will automatically dispose of its inner disposable.
See moreDeclaration
Swift
public final class ScopedDisposable<Inner> : Disposable where Inner : Disposable
-
A disposable that disposes of its wrapped disposable, and allows its wrapped disposable to be replaced.
See moreDeclaration
Swift
public final class SerialDisposable : Disposable