-
Notifications
You must be signed in to change notification settings - Fork 65
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
is it fine if onError, onSuccess is invoked after the computation is canceled? #148
Comments
The Aff runtime guards against reentry so the latter is fine. The upstream library should probably be fixed though. Since it's using XHR, it can definitely be cancelled, it just doesn't expose the request to the user. |
Thanks, opened pr to upstream lib too. Also if |
It is not possible to invoke a canceler after the callback is resolved. |
Just to check, if there's no cancel, is it better to say the cancel was a success or failure? The example calls |
The lib i'm wrapping has no cancellation, this is what i have now:
my question is, is the
canceled
staff required, or this version will be fine too:The text was updated successfully, but these errors were encountered: