diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-11-03 12:20:53 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-11-03 12:20:53 -0500 |
| commit | 078b4431854895c64d9b55bc3e1a9122cc911f48 (patch) | |
| tree | aead6d835d0b9227059dd90bc2c626003e807ea9 /docs/threads.md | |
| parent | d905fa4888876eddc7716e88ffa158ed657bcf37 (diff) | |
Add a `repeat` keyword
Diffstat (limited to 'docs/threads.md')
| -rw-r--r-- | docs/threads.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/threads.md b/docs/threads.md index ab0ce399..68fdf7d7 100644 --- a/docs/threads.md +++ b/docs/threads.md @@ -28,7 +28,7 @@ A new `Thread` object representing the created thread. >> jobs := |Int| >> results := |Int| >> thread := Thread.new(func(): - while yes: + repeat: input := jobs:get() results:give(input + 10 ) |
