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

Add Promise.Resolver.isCancelled property #47

Closed
lilyball opened this issue Nov 26, 2019 · 0 comments
Closed

Add Promise.Resolver.isCancelled property #47

lilyball opened this issue Nov 26, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@lilyball
Copy link
Owner

We should have a way to test a resolver to see if it's been cancelled yet. The use-case here is when I'm performing a non-cancellable async action followed up by more work, I want to be able to skip the subsequent work if I was cancelled by the time the action finishes.

@lilyball lilyball added the enhancement New feature or request label Nov 28, 2019
@lilyball lilyball added this to the Next milestone May 20, 2020
@lilyball lilyball self-assigned this May 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant