Skip to content

Commit c3983f6

Browse files
Update task.yaml
1 parent d7b0a95 commit c3983f6

File tree

1 file changed

+4
-2
lines changed
  • content/en-us/reference/engine/libraries

1 file changed

+4
-2
lines changed

content/en-us/reference/engine/libraries/task.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,10 @@ functions:
5555
cycle.
5656
description: |
5757
Accepts a function or a thread (as returned by coroutine.create) and
58-
defers it until the end of the current resumption cycle, at which point it
59-
is resumed with the engine's scheduler like with `Library.task.spawn()`.
58+
defers it until the end of the current resumption cycle, which is a point
59+
later in the current frame, but never during the next frame. Once it reaches
60+
the end of the current resumption cycle, the function or thread is resumed
61+
with the engine's scheduler like with `Library.task.spawn()`.
6062
Arguments after the first are sent to the function/thread.
6163
6264
This function should be used when a similar behavior to

0 commit comments

Comments
 (0)