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

Document `suspendCancellableCoroutine` first running the block and only then suspending

Open dkhalanskyjb opened this issue 5 months ago • 0 comments

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 avatar May 30 '25 09:05 dkhalanskyjb