vertx / io.vertx.rx.java / RxHelper / scheduler

scheduler

open static fun scheduler(vertx: Vertx): Scheduler

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

Parameters

vertx - the vertx 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