vertx / io.vertx.reactivex / RxHelper / scheduler

scheduler

open static fun scheduler(vertx: Vertx): Scheduler

Create a scheduler for a io.vertx.core.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 io.vertx.core.Context, actions are executed on the event loop of this context.

Parameters

context - the context object

Return
the scheduler