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.
Try the revamped Kotlin docs design →
Try the revamped Kotlin docs design!
inline fun <T> Continuation(
context: CoroutineContext,
crossinline resumeWith: (Result<T>) -> Unit
): Continuation<T>
Creates a Continuation instance with the given context and implementation of resumeWith method.