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.
1 parent 6591c4e commit 4271886Copy full SHA for 4271886
docs/cancellation-and-timeouts.md
@@ -138,7 +138,7 @@ main: Now I can quit.
138
139
There are two approaches to making computation code cancellable. The first one is to periodically
140
invoke a suspending function that checks for cancellation. There is a [yield] function that is a good choice for that purpose.
141
-The other one is to explicitly check the cancellation status. Let us try the later approach.
+The other one is to explicitly check the cancellation status. Let us try the latter approach.
142
143
Replace `while (i < 5)` in the previous example with `while (isActive)` and rerun it.
144
0 commit comments