We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ba76a58 + af73462 commit 9d844faCopy full SHA for 9d844fa
coroutines-guide.md
@@ -194,7 +194,7 @@ fun main(args: Array<String>) = runBlocking<Unit> {
194
195
## Cancellation is cooperative
196
197
-Coroutine cancellation is _cooperative_. A coroutine code has to cooperate be cancellable.
+Coroutine cancellation is _cooperative_. A coroutine code has to cooperate to be cancellable.
198
All the suspending functions in `kotlinx.coroutines` are _cancellable_. They check for cancellation of
199
coroutine and throw `CancellationException` when cancelled. However, if a coroutine is working in
200
a computation and does not check for cancellation, then it cannot be cancelled, like the following
0 commit comments