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

Can we detect/support cancelation of @stream operations? #265

Open
jtwigg opened this issue Sep 16, 2022 · 0 comments
Open

Can we detect/support cancelation of @stream operations? #265

jtwigg opened this issue Sep 16, 2022 · 0 comments

Comments

@jtwigg
Copy link

jtwigg commented Sep 16, 2022

I'm planning on streaming results using the @stream functionality, but I would like the client react app to cancel the operation, and have that propagate backwards to the resolver that's returning a result, likely via

yield ressult

Ultimately I would like the DB operation to be canceled.

Is this possible? Is there a mechanism in helix for detecting canceled requests?

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

No branches or pull requests

1 participant