smallrye-mutiny
smallrye-mutiny copied to clipboard
Refactor `Uni.awaitSuspending`
Follow the existing extension modules from https://github.com/Kotlin/kotlinx.coroutines/tree/master/reactive, add Uni.awaitSingle()
and Uni.awaitSingleOrNull
instead, the naming is more clear and easy migrated from other ReactiveStreams/JDK9 Flow impls.
lets follow up on this discussion in https://github.com/smallrye/smallrye-mutiny/issues/1325