Skip to content

Document suspendCancellableCoroutine first running the block and only then suspending #4444

Open
@dkhalanskyjb

Description

@dkhalanskyjb

Nothing in the documentation currently spells out that the block is guaranteed to run before this function suspends for the first time, which can lead to doubts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsKDoc and API reference

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions