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 Object
implements Function<SchedulerWhen.ScheduledAction,Completable>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) final class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply
(SchedulerWhen.ScheduledAction action) Apply some calculation to the input value and return some other value.
-
Field Details
-
actualWorker
-
-
Constructor Details
-
CreateWorkerFunction
CreateWorkerFunction(Scheduler.Worker actualWorker)
-
-
Method Details
-
apply
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
-