-
Notifications
You must be signed in to change notification settings - Fork 5
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
Should we separate abort/cancel and ignore? #14
Comments
Notice that my Cancellation Token+ draft featues exactly this:
|
I see in Cancellation Token+ the The reason that I doesn't want a rejection-based Also I see the |
No, the promise is only rejected for later |
In some common cases, we expect a special state of promise, in which:
Such case could be a not-wanted fetch process, like:
For similar case, we may:
ignore()
method to put a promise in a ignored statedetach(handler)
method to detach a handler so that each consumer can only manage handlers from its ownor I may put the issue in wrong place?
The text was updated successfully, but these errors were encountered: