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

feat!: SyncCall/AsyncCall enhancements #539

Merged
merged 11 commits into from
May 30, 2024
Merged

Conversation

adamspofford-dfinity
Copy link
Contributor

This PR adds IntoFuture impls for all async task builders, meaning await can be used without having to call call_and_wait() first.

This also required changing *SyncCall's generic parameter to a proper associated type. This should hopefully break no one, because output types as generic parameters are difficult to generify over in the first place.

@adamspofford-dfinity adamspofford-dfinity marked this pull request as ready for review May 30, 2024 17:41
@adamspofford-dfinity adamspofford-dfinity requested a review from a team as a code owner May 30, 2024 17:41
@adamspofford-dfinity adamspofford-dfinity merged commit 608a3f4 into main May 30, 2024
24 checks passed
@adamspofford-dfinity adamspofford-dfinity deleted the spofford/intofuture branch May 30, 2024 18:26
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

Successfully merging this pull request may close these issues.

2 participants