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

Feature suggestion: query async* and composite query async* #4836

Open
vporton opened this issue Dec 22, 2024 · 0 comments
Open

Feature suggestion: query async* and composite query async* #4836

vporton opened this issue Dec 22, 2024 · 0 comments

Comments

@vporton
Copy link

vporton commented Dec 22, 2024

Please, let introduce query async* and composite query async* functions (without the right to modify actor-level variables or call non-query functions) that would be callable from query and composite query. composite query async* functions should have the right to call query and composite query functions.

composite query func f(): async* {
  await x.g(); // g is a query function
};

Without this feature, need to write a query/composite query function as a "monolith", without splitting it into async* functions, what is both inconvenient and likely produces longer WASM code.

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

1 participant