public interface KotlinInterceptedMethod extends InterceptedMethod
InterceptedMethod
with extra methods to access coroutine's context.InterceptedMethod.ResultType
Modifier and Type | Method and Description |
---|---|
kotlin.coroutines.CoroutineContext |
getCoroutineContext() |
void |
updateCoroutineContext(kotlin.coroutines.CoroutineContext coroutineContext)
Update coroutine's context.
|
handleException, handleResult, interceptResult, interceptResult, interceptResultAsCompletionStage, interceptResultAsCompletionStage, interceptResultAsPublisher, interceptResultAsPublisher, interceptResultAsPublisher, of, resultType, returnTypeValue, unsupported
@NonNull kotlin.coroutines.CoroutineContext getCoroutineContext()
void updateCoroutineContext(@NonNull kotlin.coroutines.CoroutineContext coroutineContext)
coroutineContext
- The context