docs/Classes/ScheduledDisposable.html
public final class ScheduledDisposable : Cancelable
Represents a disposable resource whose disposal invocation will be scheduled on the specified scheduler.
`
scheduler
`
Undocumented
Swift
public let scheduler: ImmediateSchedulerType
`
isDisposed
`
Swift
public var isDisposed: Bool { get }
Was resource disposed.
`
init(scheduler:disposable:)
`
Initializes a new instance of the ScheduledDisposable that uses a scheduler on which to dispose the disposable.
Swift
public init(scheduler: ImmediateSchedulerType, disposable: Disposable)
| scheduler |
Scheduler where the disposable resource will be disposed on.
|
| disposable |
Disposable resource to dispose on the given scheduler.
|
`
dispose()
`
Disposes the wrapped disposable on the provided scheduler.
Swift
public func dispose()