Added thread.chain(...)

This commit is contained in:
2022-11-20 12:17:55 -05:00
parent 0d3de6e31d
commit 2a47de9fd8
4 changed files with 27 additions and 11 deletions
+7
View File
@@ -1122,6 +1122,13 @@ local function conn_test(conn)
end
end
function thread.chain(...)
local args = select("#")
for i=1,#args do
thread.hold(select(i,...))
end
end
function thread.hold(n,opt)
thread._Requests()
local opt = opt or {}