Skip to content

GDScriptFunctionState, Async implementation. #868

Not planned
@darthLeviN

Description

@darthLeviN

My suggestion is to expose GDSCriptFunctionState and implement Future for it or it's wrappers.

I wanted to do this but i read that i should make an issue and discuss it first because it's big change.

Is this a useful thing to enable seamless await/async calls in the future?

Activity

TitanNano

TitanNano commented on Aug 22, 2024

@TitanNano
Contributor

GDSCriptFunctionState exposes a connected signal, so if #261 gets implemented, we can convert the function state into a signal future.

Bromeon

Bromeon commented on Aug 31, 2024

@Bromeon
Member

Please continue discussion under #261, there are ongoing ideas/efforts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureAdds functionality to the librarystatus: duplicateThis issue or pull request already exists

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @Bromeon@TitanNano@darthLeviN

        Issue actions

          GDScriptFunctionState, Async implementation. · Issue #868 · godot-rust/gdext