intercepted
Intercepts this continuation with ContinuationInterceptor.
This function shall be used on the immediate result of createCoroutineUnintercepted or suspendCoroutineUninterceptedOrReturn, in which case it checks for ContinuationInterceptor in the continuation's context, invokes ContinuationInterceptor.interceptContinuation, caches and returns the result.
If this function is invoked on other Continuation instances it returns this
continuation unchanged.
Since Kotlin
1.3Intercepts this continuation with ContinuationInterceptor.
Since Kotlin
1.3Intercepts this continuation with ContinuationInterceptor.
This function shall be used on the immediate result of createCoroutineUnintercepted or suspendCoroutineUninterceptedOrReturn, in which case it checks for ContinuationInterceptor in the continuation's context, invokes ContinuationInterceptor.interceptContinuation, caches and returns the result.
If this function is invoked on other Continuation instances it returns this
continuation unchanged.
Since Kotlin
1.3Intercepts this continuation with ContinuationInterceptor.
This function shall be used on the immediate result of createCoroutineUnintercepted or suspendCoroutineUninterceptedOrReturn, in which case it checks for ContinuationInterceptor in the continuation's context, invokes ContinuationInterceptor.interceptContinuation, caches and returns the result.
If this function is invoked on other Continuation instances it returns this
continuation unchanged.
Since Kotlin
1.3Intercepts this continuation with ContinuationInterceptor.
This function shall be used on the immediate result of createCoroutineUnintercepted or suspendCoroutineUninterceptedOrReturn, in which case it checks for ContinuationInterceptor in the continuation's context, invokes ContinuationInterceptor.interceptContinuation, caches and returns the result.
If this function is invoked on other Continuation instances it returns this
continuation unchanged.
Since Kotlin
1.8Intercepts this continuation with ContinuationInterceptor.
This function shall be used on the immediate result of createCoroutineUnintercepted or suspendCoroutineUninterceptedOrReturn, in which case it checks for ContinuationInterceptor in the continuation's context, invokes ContinuationInterceptor.interceptContinuation, caches and returns the result.
If this function is invoked on other Continuation instances it returns this
continuation unchanged.