suspendCoroutineUninterceptedOrReturn

inline suspend fun <T> suspendCoroutineUninterceptedOrReturn(
    crossinline block: (Continuation<T>) -> Any?
): T
(source)

Platform and version requirements: Kotlin 1.2

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.