On Wed, May 30, 2012 at 1:33 PM, Filip Maj <[email protected]> wrote: > Reference issue: https://issues.apache.org/jira/browse/CB-836 > > I am just fostering discussion here. Maybe a simple `abort` method, a la > XHR [1]? Seems the easiest. > > [1] https://developer.mozilla.org/en/DOM/XMLHttpRequest#abort() >
One difficulty is that FileTransfer.upload and FileTransfer.download don't appear to return an object which can be used to refer to the ongoing session. If it did, then having an abort method on it would seem perfect! Existing code that didn't understand the object should continue to just work. This would also be a great object on which to addEventListener() for progress events... [2] [2] https://issues.apache.org/jira/browse/CB-622 -- brion vibber (brion @ pobox.com / brion @ wikimedia.org)
