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

Allow Promise to explicitly cancel its request #19

Open
mxgrey opened this issue Aug 15, 2024 · 0 comments
Open

Allow Promise to explicitly cancel its request #19

mxgrey opened this issue Aug 15, 2024 · 0 comments

Comments

@mxgrey
Copy link
Contributor

mxgrey commented Aug 15, 2024

Currently we detect when a Promise is dropped and then we'll automatically cancel the impulse chain that was built for that Promise (unless the chain was detached).

We should also offer an API for the Promise struct to explicitly ask for the request to be cancelled and then await the cancellation.

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