Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant