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 6f51fab commit 68af54eCopy full SHA for 68af54e
docs/Runtime Environment/Scheduler.md
@@ -4,7 +4,7 @@ The scheduler class — available via `require` — can be used to easily set up
4
The constructor takes no arguments.
5
6
### `add`
7
-The `add` method can be used to turn a function into a coroutine. The coroutine is resumed once and then added to the scheduler.
+The `add` method can be used to turn a function into a coroutine. The coroutine is resumed once, added to the scheduler, and returned.
8
9
### `addloop`
10
The `addloop` method is a wrapper for the `add` method that keeps invoking the given function until it returns false.
0 commit comments