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
ScheduledDisposable
that uses ascheduler
on which to dispose thedisposable
.Declaration
Swift
public init(scheduler: ImmediateSchedulerType, disposable: Disposable)
Parameters
scheduler
Scheduler where the disposable resource will be disposed on.
disposable
Disposable resource to dispose on the given scheduler.
-
Disposes the wrapped disposable on the provided scheduler.
Declaration
Swift
public func dispose()