You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I understand it, the base Godot C++ GDExtension library doesn't handle async/yield. I recognize that gdext doesn't have the functionality either, even though gdnative version of godot-rust was able to do it.
Is it even possible to get an await call to work?
What would be the simplest way to enable this, even if it's not ideal?
Any hints for how to do this in gdext would be amazing, thank you!
The text was updated successfully, but these errors were encountered:
There are a few people on Discord who have experimented with async, and there's also prior art in the gdnative project with its gdnative::task module.
But for me personally, async support is not a priority in the library, there are many other things I'd like to do first. For example, coming up with a better threading model might also help for some questions in async. So, unless someone is willing to spend the time on this, don't expect there to be much progress this year 🙂
As I understand it, the base Godot C++ GDExtension library doesn't handle async/yield. I recognize that gdext doesn't have the functionality either, even though gdnative version of godot-rust was able to do it.
Any hints for how to do this in gdext would be amazing, thank you!
The text was updated successfully, but these errors were encountered: