resume With Exception If Active
fun <T> CancellableContinuation<T>.resumeWithExceptionIfActive(exception: Throwable)
Content copied to clipboard
Resumes the execution of the corresponding coroutine if it is still active so that the exception is re-thrown right after the last suspension point.