diff options
| author | amelia squires <[email protected]> | 2025-04-16 13:09:46 -0500 |
|---|---|---|
| committer | amelia squires <[email protected]> | 2025-04-16 13:09:46 -0500 |
| commit | 009eb7d43d9582856c275ad3b16f7e3ff94209cc (patch) | |
| tree | 6d1f5ea000a6d72164a5b6e05b68dfbe0371ae06 /tests/old/t.lua | |
| parent | dd7a8af4050454c3901987bff24a77334f892cc4 (diff) | |
merge thingy
Diffstat (limited to 'tests/old/t.lua')
| -rw-r--r-- | tests/old/t.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/old/t.lua b/tests/old/t.lua new file mode 100644 index 0000000..09ee15d --- /dev/null +++ b/tests/old/t.lua @@ -0,0 +1,15 @@ +a = require "lullaby" + +b = coroutine.create(function() + os.execute("sleep 2") + print("co") +end) + +c = a.thread.async(function(res, req) + coroutine.resume(b) +end) + +os.execute("sleep 0.5") +print("owo") + +c:await() |
