Skip to content

Commit ba46f34

Browse files
committed
Fix typo
1 parent 63f2730 commit ba46f34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/Runtime Environment/Scheduler.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The `add` method can be used to turn a function into a coroutine. The coroutine
1010
The `addloop` method is a wrapper for the `add` method that keeps invoking the given function until it returns false.
1111

1212
### `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.
1414

1515
```pluto
1616
local scheduler = new (require"pluto:scheduler") ()

0 commit comments

Comments
 (0)