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

How to safely kill a in flight process #19

Open
kalepail opened this issue Nov 19, 2024 · 0 comments
Open

How to safely kill a in flight process #19

kalepail opened this issue Nov 19, 2024 · 0 comments

Comments

@kalepail
Copy link

Forgive me if this question is basic or out of scope, I'm fairly new to Rust and WASM.

Is there a mechanic for killing an inflight request? I have a program that takes some arguments and could begin taking a long time to process. It's possible I may want to kill an inflight request, change some arguments, and try again without waiting for the current request to complete. Is there a mechanic for ensuring this is done safely?

Thanks! Really appreciate this package and the work put into it. I was using a cobbled together version of this https://wasm-bindgen.netlify.app/examples/raytrace previously. This is so much cleaner!

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