aboutsummaryrefslogtreecommitdiff
path: root/library/lullaby
diff options
context:
space:
mode:
authorame <[email protected]>2025-07-16 00:37:56 -0500
committerame <[email protected]>2025-07-16 00:37:56 -0500
commit29c04b4c2e892ed7b19831e8a019e6e8465e7c46 (patch)
treeb69405dabf0b7130000c846b8cf4b9267b2211fa /library/lullaby
parent7184bbb7fdddbacb998d342e4a674574e7372600 (diff)
thread.close and small thread changes
Diffstat (limited to 'library/lullaby')
-rw-r--r--library/lullaby/thread.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/library/lullaby/thread.lua b/library/lullaby/thread.lua
index d4efe2d..6015a0b 100644
--- a/library/lullaby/thread.lua
+++ b/library/lullaby/thread.lua
@@ -16,6 +16,11 @@ function async.await(T) end
---@return nil
function async.clean(T) end
+---stops the thread
+---@param T async-table
+---@return nil
+function async.close(T) end
+
---contains data for the thread
---@deprecated
---@type lightuserdata