kotlinx.coroutines icon indicating copy to clipboard operation
kotlinx.coroutines copied to clipboard

Mark `CompletionStage<T>.await()` as `@DelicateCoroutinesApi`

Open dovchinnikov opened this issue 9 months ago • 2 comments
trafficstars

This is unexpected that await cancels the CompletableFuture on coroutine cancellation. Since it's named like Deferred.await, it's expected to behave the same way without requiring to convert to Deferred first.

dovchinnikov avatar Feb 19 '25 12:02 dovchinnikov