ImmediateScheduler
public final class ImmediateScheduler : Scheduler
A scheduler that performs all work synchronously.
-
Immediately calls passed in
action.Declaration
Swift
@discardableResult public func schedule(_ action: @escaping () -> Void) -> Disposable ?Parameters
actionA closure of the action to be performed.
Return Value
nil.