suspendCoroutineUninterceptedOrReturn

Common
JVM
JS
Native
1.2
inline suspend fun <T> suspendCoroutineUninterceptedOrReturn(
    crossinline block: (Continuation<T>) -> Any?
): T

Obtains the current continuation instance inside suspend functions and either suspends currently running coroutine or returns result immediately without suspension.

Unlike suspendCoroutineOrReturn it does not intercept continuation.