Class ReactorCoroutineTxHelper
java.lang.Object
io.micronaut.transaction.interceptor.ReactorCoroutineTxHelper
@Internal
@Singleton
@Requires(classes={kotlin.coroutines.CoroutineContext.class,kotlinx.coroutines.reactor.ReactorContext.class})
public final class ReactorCoroutineTxHelper
extends Object
Helper to setup Kotlin coroutine context with Reactor.
- Since:
- 3.9.1
- Author:
- Denis Stepanov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.util.context.ContextView
getReactorContext
(io.micronaut.aop.kotlin.KotlinInterceptedMethod kotlinInterceptedMethod)
-
Constructor Details
-
ReactorCoroutineTxHelper
public ReactorCoroutineTxHelper()
-
-
Method Details
-
getReactorContext
@Nullable public reactor.util.context.ContextView getReactorContext(@NonNull io.micronaut.aop.kotlin.KotlinInterceptedMethod kotlinInterceptedMethod)
-