Skip to content

Commit 9d844fa

Browse files
authored
Merge pull request #27 from tairrzayev/readme-fix
Fixes the typo in the coroutines-guide.md
2 parents ba76a58 + af73462 commit 9d844fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coroutines-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ fun main(args: Array<String>) = runBlocking<Unit> {
194194
195195
## Cancellation is cooperative
196196

197-
Coroutine cancellation is _cooperative_. A coroutine code has to cooperate be cancellable.
197+
Coroutine cancellation is _cooperative_. A coroutine code has to cooperate to be cancellable.
198198
All the suspending functions in `kotlinx.coroutines` are _cancellable_. They check for cancellation of
199199
coroutine and throw `CancellationException` when cancelled. However, if a coroutine is working in
200200
a computation and does not check for cancellation, then it cannot be cancelled, like the following

0 commit comments

Comments
 (0)