ScheduledDisposable
public final class ScheduledDisposable : Cancelable
Represents a disposable resource whose disposal invocation will be scheduled on the specified scheduler.
-
Undocumented
Declaration
Swift
public let scheduler: ImmediateSchedulerType -
Declaration
Swift
public var isDisposed: Bool { get }Return Value
Was resource disposed.
-
Initializes a new instance of the
ScheduledDisposablethat uses ascheduleron which to dispose thedisposable.Declaration
Swift
public init(scheduler: ImmediateSchedulerType, disposable: Disposable)Parameters
schedulerScheduler where the disposable resource will be disposed on.
disposableDisposable resource to dispose on the given scheduler.
-
Disposes the wrapped disposable on the provided scheduler.
Declaration
Swift
public func dispose()
View on GitHub
ScheduledDisposable Class Reference