From 29c04b4c2e892ed7b19831e8a019e6e8465e7c46 Mon Sep 17 00:00:00 2001 From: ame Date: Wed, 16 Jul 2025 00:37:56 -0500 Subject: thread.close and small thread changes --- library/lullaby/thread.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'library/lullaby') 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 -- cgit v1.2.3