Class SchedulerWhen.CreateWorkerFunction
- java.lang.Object
-
- io.reactivex.rxjava3.internal.schedulers.SchedulerWhen.CreateWorkerFunction
-
- All Implemented Interfaces:
Function<SchedulerWhen.ScheduledAction,Completable>
- Enclosing class:
- SchedulerWhen
static final class SchedulerWhen.CreateWorkerFunction extends java.lang.Object implements Function<SchedulerWhen.ScheduledAction,Completable>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) class
SchedulerWhen.CreateWorkerFunction.WorkerCompletable
-
Field Summary
Fields Modifier and Type Field Description (package private) Scheduler.Worker
actualWorker
-
Constructor Summary
Constructors Constructor Description CreateWorkerFunction(Scheduler.Worker actualWorker)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Completable
apply(SchedulerWhen.ScheduledAction action)
Apply some calculation to the input value and return some other value.
-
-
-
Field Detail
-
actualWorker
final Scheduler.Worker actualWorker
-
-
Constructor Detail
-
CreateWorkerFunction
CreateWorkerFunction(Scheduler.Worker actualWorker)
-
-
Method Detail
-
apply
public Completable apply(SchedulerWhen.ScheduledAction action)
Description copied from interface:Function
Apply some calculation to the input value and return some other value.- Specified by:
apply
in interfaceFunction<SchedulerWhen.ScheduledAction,Completable>
- Parameters:
action
- the input value- Returns:
- the output value
-
-