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
oboe use xhr, should have abort function, like xhr.abort ... or fetch abort etc...
90% of my mapping web page, need to abort ajax, abort fetch etc... because otherwise, when user pan the map, continuously, each pan/zoom map will fire a stream request, so a chain of streaming request piled up, user have to wait long time until all other stream ended one by one to get the latest usefull stream started, it is horrible user experience. We want abort all other stream, only keep the latest stream live.
Please advise how to abort stream before it ended?
I know that oboe(url).node(0.done() can streaming json
when stream ended, done(function(){}) was called.
I have need to abort this streaming before it done().
for example fetch.abort api
use controller.abort(); abort signal.
Would oboe have such similar, so I can oboe.abort() or controller.abort()..... or what ever I can
abort the stream before it fire .done() ?
The text was updated successfully, but these errors were encountered: