vertx / io.vertx.reactivex.core / Context / isOnEventLoopThread

# isOnEventLoopThread

`open static fun isOnEventLoopThread(): Boolean`

Is the current thread an event thread?

NOTE! This is not always the same as calling `io.vertx.reactivex.core.Context#isEventLoopContext`. If you are running blocking code from an event loop context, then this will return false but `io.vertx.reactivex.core.Context#isEventLoopContext` will return true.

Return
true if current thread is a worker thread, false otherwise