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: docs/Runtime Environment/Scheduler.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ The `add` method can be used to turn a function into a coroutine. The coroutine
10
10
The `addloop` method is a wrapper for the `add` method that keeps invoking the given function until it returns false.
11
11
12
12
### `run`
13
-
The `run` method activates the scheduler. The scheduler resumes all coroutines and then calls its yieldfunc until either all coroutines are finished, or coroutine throws an error — in which case it is rethrown.
13
+
The `run` method activates the scheduler. The scheduler resumes all coroutines and then calls its yieldfunc until either all coroutines are finished, or a coroutine throws an error — in which case it is rethrown.
14
14
15
15
```pluto
16
16
local scheduler = new (require"pluto:scheduler") ()
0 commit comments