vertx / io.vertx.rx.java / RxHelper / blockingScheduler

blockingScheduler

open static fun blockingScheduler(vertx: Vertx): Scheduler

Create a scheduler for a Vertx object, actions can be blocking, they are not executed on Vertx event loop.

Parameters

vertx - the vertx object

Return
the scheduler

open static fun blockingScheduler(vertx: Vertx, ordered: Boolean): Scheduler

Create a scheduler for a Vertx object, actions can be blocking, they are not executed on Vertx event loop.

Parameters

vertx - the vertx object

ordered - if true then if when tasks are scheduled several times on the same context, the executions for that context will be executed serially, not in parallel. if false then they will be no ordering guarantees

Return
the scheduler