Skip to content

Commit 1d74b34

Browse files
authored
fix info abt coroutine tasks
1 parent dd94cc7 commit 1d74b34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/tasks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ Task<int> someTask() {
287287
```
288288

289289
There are a few specific things you should be aware of when using this syntax:
290-
* The body of the coroutine is ran in whatever thread it got called in
290+
* The body of the coroutine is ran in the main thread, possibly only in the next frame.
291291
* If the task the coroutine is waiting on is cancelled, the whole coroutine is cancelled
292292
* If the task returned by the coroutine is cancelled, any pending task that is running is cancelled
293293

0 commit comments

Comments
 (0)