SchedulerType
public protocol SchedulerType : ImmediateSchedulerType
                Represents an object that schedules units of work.
- 
                  
                  
Declaration
Swift
var now: RxTime { get }Return Value
Current time.
 - 
                  
                  
Schedules an action to be executed.
Declaration
Swift
func scheduleRelative<StateType>(_ state: StateType, dueTime: RxTimeInterval, action: @escaping (StateType) -> Disposable) -> DisposableParameters
stateState passed to the action to be executed.
dueTimeRelative time after which to execute the action.
actionAction to be executed.
Return Value
The disposable object used to cancel the scheduled action (best effort).
 - 
                  
schedulePeriodic(_:startAfter:period:action:)Default implementationSchedules a periodic piece of work.
Default Implementation
Periodic task will be emulated using recursive scheduling.
Declaration
Swift
func schedulePeriodic<StateType>(_ state: StateType, startAfter: RxTimeInterval, period: RxTimeInterval, action: @escaping (StateType) -> StateType) -> DisposableParameters
stateState passed to the action to be executed.
startAfterPeriod after which initial work should be run.
periodPeriod for running the work periodically.
actionAction to be executed.
Return Value
The disposable object used to cancel the scheduled action (best effort).
 
        SchedulerType Protocol Reference