Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
dkhalanskyjb opened this issue May 30, 2025 · 0 comments
Labels
docs KDoc and API reference

Comments

@dkhalanskyjb
Copy link
Collaborator

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.

@dkhalanskyjb dkhalanskyjb added the docs KDoc and API reference label May 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs KDoc and API reference
Projects
None yet
Development

No branches or pull requests

1 participant