mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-11 23:54:52 +09:00
Fix async module to allow recursive "async" functions
Return `true` in async function to run again
This commit is contained in:
1 parent
2b0d2b874f
commit
f4eb5ada5a
1 file changed
+1
-1
+1
-1
@@ -36,7 +36,7 @@ local Async = {}
|
||||
local internal_run =
|
||||
Token.register(function(params)
|
||||
local func = Token.get(params.token)
|
||||
func(unpack(params.params))
|
||||
return func(unpack(params.params))
|
||||
end)
|
||||
|
||||
--- Register a new async function, must called when the file is loaded
|
||||
|
||||
Reference in new issue
Block a user