kotlinx.coroutines
kotlinx.coroutines copied to clipboard
Document `suspendCancellableCoroutine` first running the block and only then suspending
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.