-
- All Implemented Interfaces:
-
kotlin.coroutines.ContinuationInterceptor,kotlin.coroutines.CoroutineContext,kotlin.coroutines.CoroutineContext.Element
public final class VertxDispatcher extends CoroutineDispatcherDispatches the coroutine in Vertx IO thread.
-
-
Field Summary
Fields Modifier and Type Field Description private final CoroutineContext.Key<?>key
-
Constructor Summary
Constructors Constructor Description VertxDispatcher(Context vertxContext, ThreadSetupAction.ThreadState requestScope)
-
Method Summary
Modifier and Type Method Description CoroutineContext.Key<?>getKey()Unitdispatch(CoroutineContext context, Runnable block)-
Methods inherited from class org.jboss.resteasy.reactive.server.runtime.kotlin.VertxDispatcher
dispatchYield, interceptContinuation, isDispatchNeeded, plus, releaseInterceptedContinuation, toString -
Methods inherited from class kotlin.coroutines.AbstractCoroutineContextElement
fold, get, minusKey -
Methods inherited from class kotlin.coroutines.CoroutineContext.Element
plus -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getKey
CoroutineContext.Key<?> getKey()
-
dispatch
Unit dispatch(CoroutineContext context, Runnable block)
-
-
-
-