WeaselGames / godot_luaAPI

Godot LuaAPI
https://luaapi.weaselgames.info
Other
371 stars 28 forks source link

Support await #90

Closed Trey2k closed 1 year ago

Trey2k commented 1 year ago

Currently, if you try to await on a GDScript function invoked by lua, the function will return a GDScriptFunctionState to lua and cause undefined behavior. I do not know enough about this topic, but I think it should be possible to have it function as expected.