Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Async Fn in Trait? #409

Closed
ShaneMurphy2 opened this issue Nov 6, 2023 · 3 comments
Closed

Support for Async Fn in Trait? #409

ShaneMurphy2 opened this issue Nov 6, 2023 · 3 comments

Comments

@ShaneMurphy2
Copy link
Contributor

As async_fn_in_trait is stable on nightly, is there plans to support it in the generated code? I recognized it would be a significant refactor, but it would be nice to avoid having to Box futures.

@tikue
Copy link
Collaborator

tikue commented Nov 6, 2023

Hey, thanks for your interest! Yes, I have a branch that uses async_fn_in_trait on nightly (it probably needs some updates, as it's about 10 months old now). Once async_fn_in_trait is released on stable, I'll merge to master.

@ShaneMurphy2
Copy link
Contributor Author

Wonderful, thanks!

@tikue
Copy link
Collaborator

tikue commented Feb 2, 2024

I think this was fixed by #413 :)

@tikue tikue closed this as completed Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants