Package rx.schedulers
Class TrampolineScheduler
java.lang.Object
rx.Scheduler
rx.schedulers.TrampolineScheduler
Deprecated.
-
Nested Class Summary
Nested classes/interfaces inherited from class rx.Scheduler
Scheduler.Worker
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Retrieves or creates a newScheduler.Worker
that represents serial execution of actions.
-
Constructor Details
-
TrampolineScheduler
private TrampolineScheduler()Deprecated.
-
-
Method Details
-
createWorker
Deprecated.Description copied from class:Scheduler
Retrieves or creates a newScheduler.Worker
that represents serial execution of actions.When work is completed it should be unsubscribed using
Subscription.unsubscribe()
.Work on a
Scheduler.Worker
is guaranteed to be sequential.- Specified by:
createWorker
in classScheduler
- Returns:
- a Worker representing a serial queue of actions to be executed
-
Schedulers.trampoline()
.