aboutsummaryrefslogtreecommitdiff
path: root/tests/t.lua
diff options
context:
space:
mode:
authoramelia squires <[email protected]>2024-09-29 02:49:05 -0500
committeramelia squires <[email protected]>2024-09-29 02:49:05 -0500
commite29d3ea86551380ace8e2c86c9f1f63e901941e1 (patch)
tree526d2f71581e2584c9de2b958fd89b6ce0fb0ac1 /tests/t.lua
parent1feb3c40514a7c1726f29502ce37966c308bea79 (diff)
docs n stuff
Diffstat (limited to 'tests/t.lua')
-rw-r--r--tests/t.lua16
1 files changed, 13 insertions, 3 deletions
diff --git a/tests/t.lua b/tests/t.lua
index 9c71c61..09ee15d 100644
--- a/tests/t.lua
+++ b/tests/t.lua
@@ -1,5 +1,15 @@
a = require "lullaby"
-o = a.crypto.sha224()
---o:update("me")
---print(o:final())
+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()