Schedulers.newThread()
.@Deprecated public final class NewThreadScheduler extends Scheduler
Scheduler.Worker
Modifier and Type | Method and Description |
---|---|
Scheduler.Worker |
createWorker()
Deprecated.
Retrieves or creates a new
Scheduler.Worker that represents serial execution of actions. |
public Scheduler.Worker createWorker()
Scheduler
Scheduler.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.
createWorker
in class Scheduler