Merge pull request #148 from bbassie/dev

Fix async module to allow recursive "async" functions
This commit is contained in:
Cooldude2606
2020-03-22 21:58:55 +00:00
committed by GitHub

View File

@@ -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