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
is there any way to cancel all calls that are pending?
I have an application in angular and when I change of route, the calls still are pending.
I would like to stop calls that are still pending. when the application changes its route.
sorry for my English.
Thank you very much in advance.
The text was updated successfully, but these errors were encountered:
I believe you are looking for viewer.imageLoader.clear()
For example:
var viewer = OpenSeadragon({
// ....options
});
// Made up event handler to pretend your app has a callback when the route changes
yourApp.onRouteChange(function(){
// THIS IS THE RELEVANT API CALL
viewer.imageLoader.clear();
});
is there any way to cancel all calls that are pending?
I have an application in angular and when I change of route, the calls still are pending.
I would like to stop calls that are still pending. when the application changes its route.
sorry for my English.
Thank you very much in advance.
The text was updated successfully, but these errors were encountered: