Skip to content

Async/Await for Signals #261

Closed
Closed
@lilizoey

Description

@lilizoey

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureAdds functionality to the libraryhardOpposite of "good first issue": needs deeper know-how and significant design work.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions