You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorials/tasks.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -262,7 +262,7 @@ Note that if your code needs to interact with the Cocos2d UI **at all**, then yo
262
262
263
263
## Chaining tasks
264
264
265
-
You can chain tasks by using `Task::chain`. This allows you to take the result of a task once it finished and run another task right after, based on that return value. \
265
+
You can chain tasks by using `Task::chain`. This allows you to take the result of a task once it finishes and run another task right after, based on that return value. \
266
266
Progress updates are only sent from the last Task in the chain, for simplicity
267
267
268
268
```cpp
@@ -277,7 +277,7 @@ Task<std::string> newTask =
277
277
278
278
## Coroutines
279
279
280
-
Tasks can be used in [C++20 coroutine](https://en.cppreference.com/w/cpp/language/coroutines) functions, easily allowing for multiple asynchronous calls to happen within the same code. Note that this may have a little performance overhead compared to regular Task code.
280
+
Tasks can be used in [C++20 coroutines](https://en.cppreference.com/w/cpp/language/coroutines), easily allowing for multiple asynchronous calls to happen within the same code. Note that this may have a little performance overhead compared to regular Task code.
0 commit comments