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