aboutsummaryrefslogtreecommitdiff
path: root/examples/coroutines/README.md
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-09-01 17:39:20 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-09-01 17:39:20 -0400
commit2538b1b7461f9b06d6a6f43acd5609d916b1addc (patch)
tree061efdfc54351b1c644f1422e4f2c00bfefb1235 /examples/coroutines/README.md
parentd6d3f5711de85ab1c21f515b9d125d316d853c92 (diff)
parentadc2d81b5683e611c5f3289be6157d4519a60632 (diff)
Merge branch 'main' into formatter
Diffstat (limited to 'examples/coroutines/README.md')
-rw-r--r--examples/coroutines/README.md30
1 files changed, 0 insertions, 30 deletions
diff --git a/examples/coroutines/README.md b/examples/coroutines/README.md
deleted file mode 100644
index 644c0e07..00000000
--- a/examples/coroutines/README.md
+++ /dev/null
@@ -1,30 +0,0 @@
-# Tomo Coroutine Library
-
-This is a coroutine library built on top of a modified version of
-[libaco](https://libaco.org).
-
-## Example Usage
-
-```ini
-# modules.ini
-[coroutines]
-version=v1.0
-```
-
-```tomo
-use coroutines
-
-func main()
- co := Coroutine(func()
- say("I'm in the coroutine!")
- yield()
- say("I'm back in the coroutine!")
- )
- >> co
- say("I'm in the main func")
- >> co.resume()
- say("I'm back in the main func")
- >> co.resume()
- say("I'm back in the main func again")
- >> co.resume()
-```