aboutsummaryrefslogtreecommitdiff
path: root/library
diff options
context:
space:
mode:
authoramelia squires <[email protected]>2025-10-14 21:46:38 -0500
committeramelia squires <[email protected]>2025-10-14 21:46:38 -0500
commitaf09c42e8067dfc832f7e1dce92860e1022c75fa (patch)
treea444ec4586f9b1c54ea6680ffee2dc940644427d /library
parenta67dc94484cf9869793fc1861914b800a6559a74 (diff)
tons of thread changed, more testing needed
Diffstat (limited to 'library')
-rw-r--r--library/lullaby/thread.lua7
1 files changed, 6 insertions, 1 deletions
diff --git a/library/lullaby/thread.lua b/library/lullaby/thread.lua
index 6015a0b..f529049 100644
--- a/library/lullaby/thread.lua
+++ b/library/lullaby/thread.lua
@@ -16,11 +16,16 @@ function async.await(T) end
---@return nil
function async.clean(T) end
----stops the thread
+---stops the thread, may be unavaliable on some systems (android) and will call async:kill instead
---@param T async-table
---@return nil
function async.close(T) end
+---stops the thread forcefully, may cause problems
+---@param T async-table
+---@return nil
+function async.kill(T) end
+
---contains data for the thread
---@deprecated
---@type lightuserdata