Open hantsy opened 1 year ago
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.
Uni.awaitSingle()
Uni.awaitSingleOrNull
lets follow up on this discussion in https://github.com/smallrye/smallrye-mutiny/issues/1325
Follow the existing extension modules from https://github.com/Kotlin/kotlinx.coroutines/tree/master/reactive, add
Uni.awaitSingle()
andUni.awaitSingleOrNull
instead, the naming is more clear and easy migrated from other ReactiveStreams/JDK9 Flow impls.