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) classSchedulerWhen.CreateWorkerFunction.WorkerCompletable
-
Field Summary
Fields Modifier and Type Field Description (package private) Scheduler.WorkeractualWorker
-
Constructor Summary
Constructors Constructor Description CreateWorkerFunction(Scheduler.Worker actualWorker)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Completableapply(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:FunctionApply some calculation to the input value and return some other value.- Specified by:
applyin interfaceFunction<SchedulerWhen.ScheduledAction,Completable>- Parameters:
action- the input value- Returns:
- the output value
-
-