Extensions for rx.Single

await

suspend fun <T> Single<T>.await(): T

Awaits for completion of the single value without blocking a thread and returns the resulting value or throws the corresponding exception if this single had produced error.