vertx / io.vertx.rxjava.core / RxHelper / scheduler

scheduler

open static fun scheduler(vertx: Vertx): Scheduler

Create a scheduler for a Vertx object, actions are executed on the event loop of the current context.

Parameters

vertx - the vertx object

Return
the scheduler

open static fun scheduler(executor: WorkerExecutor): Scheduler

Create a scheduler for a WorkerExecutor object, actions are executed on the threads of this executor.

Parameters

executor - the worker executor object

Return
the scheduler

open static fun scheduler(context: Context): Scheduler

Create a scheduler for a Context, actions are executed on the event loop of this context.

Parameters

context - the context object

Return
the scheduler