mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
Fix async module to allow recursive "async" functions
Return `true` in async function to run again
This commit is contained in:
@@ -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