You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I must admit is not the simplest of the setup, but I basically install an even listener into my sync function that listen for the abort event which is triggered on the react UI by pressing a button. The callback gets called successfully, however the transfer monitor does not stop and the upload continues.
Hello and thanks for this library.
I am trying to use the abort controller, but it does not seems to work.
I must admit is not the simplest of the setup, but I basically install an even listener into my sync function that listen for the
abort
event which is triggered on the react UI by pressing a button. The callback gets called successfully, however the transfer monitor does not stop and the upload continues.According to aws docs it should throw an error as well: https://aws.amazon.com/blogs/developer/abortcontroller-in-modular-aws-sdk-for-javascript/, but in my case it does not.
This is the snippet of my code
Any idea of what I might be doing wrong? Thanks
The text was updated successfully, but these errors were encountered: