-
-
Notifications
You must be signed in to change notification settings - Fork 287
Async/Await for Signals #261
Copy link
Copy link
Closed
Labels
featureAdds functionality to the libraryAdds functionality to the libraryhardOpposite of "good first issue": needs deeper know-how and significant design work.Opposite of "good first issue": needs deeper know-how and significant design work.
Description
It should be possible to implement Future for signals, and add support for async functions in exported methods, with them returning a signal.
These two things combined should allow us to use async/await syntax when calling methods both in rust and gdscript.
This is going to require a lot of upfront work before it's feasible to start working on this feature. First an actual implementation of signals are needed, but we'll also likely need to create some godot-objects directly in our bindings that will handle the awaiting and execution of these futures, and that is not something we have planned/thought out how to do yet.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featureAdds functionality to the libraryAdds functionality to the libraryhardOpposite of "good first issue": needs deeper know-how and significant design work.Opposite of "good first issue": needs deeper know-how and significant design work.