function suspendCancellableCoroutine
source · line 110public
public suspend fun <T> suspendCancellableCoroutine(registration: (CancellableContinuation<T>) -> Unit): T
Registers a suspension tied to the current job when one exists. Cancellation competes with result delivery through the supplied continuation.
parameter registration
source · line 111public
registration: (CancellableContinuation<T>) -> Unit
type parameter T
source · line 110public
T