captureCoroutine

inline fun <T : Any> captureCoroutine(): T(source)

Captures coroutine. Captured coroutine R>().coInvoke(...) can be used in answer scope.