Continuation

inline fun <T> Continuation(context: CoroutineContext, crossinline resumeWith: (Result<T>) -> Unit): Continuation<T>(source)

Creates a Continuation instance with the given context and implementation of resumeWith method.

Since Kotlin

1.3