mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
Merge pull request #148 from bbassie/dev
Fix async module to allow recursive "async" functions
This commit is contained in:
@@ -36,7 +36,7 @@ local Async = {}
|
|||||||
local internal_run =
|
local internal_run =
|
||||||
Token.register(function(params)
|
Token.register(function(params)
|
||||||
local func = Token.get(params.token)
|
local func = Token.get(params.token)
|
||||||
func(unpack(params.params))
|
return func(unpack(params.params))
|
||||||
end)
|
end)
|
||||||
|
|
||||||
--- Register a new async function, must called when the file is loaded
|
--- Register a new async function, must called when the file is loaded
|
||||||
|
|||||||
Reference in New Issue
Block a user