resumeWith

Common
JVM
JS
Native
1.0
abstract fun resumeWith(result: Result<T>)

Resumes the execution of the corresponding coroutine passing a successful or failed result as the return value of the last suspension point.