awaitKotlinResult

suspend fun <T> Deferred<T>.awaitKotlinResult(): KotlinResult<T>

Awaits the Deferred and returns its result as a KotlinResult.

Receiver

The Deferred to await.