Skip to content

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

Open
@dovchinnikov

Description

@dovchinnikov

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions