vertx / io.vertx.reactivex.core / Context / isWorkerContext

isWorkerContext

open fun isWorkerContext(): Boolean

Is the current context a worker context?

NOTE! when running blocking code using io.vertx.reactivex.core.Vertx#executeBlocking from a standard (not worker) verticle, the context will still an event loop context and this will return false.

Return
true if the current context is a worker context, false otherwise