Community
Participate
Working Groups
It would be good to have API to run asynchronous operations in Orion, something like Jobs API. These tasks would be reported on our task/operation list that Gosia prepared. I wonder if we could have one API to run asynchronous operations on the client side and for long-running server operations?
I was thinking about it a bit and what I really had in mind was API similar to IProgressMonitor API. For instance I want to write code like this: function(){ progress.beginOperation("myOperation", 100); doSomething1(); progress.worked(50); doSomething2(); progress.done(); } It would create an operation being tracked by the progress/operations view. So I could start a long operation on one page, switch to another page and track the operation in the mini progress view there. Then I could do something else waiting for the operation to be finished.
Mike has shared[1] a link to a javascript lib for thread-like tasks -- task.js [1] http://dev.eclipse.org/mhonarc/lists/orion-dev/msg01089.html
(In reply to comment #2) > Mike has shared[1] a link to a javascript lib for thread-like tasks -- task.js And the link itself - http://taskjs.org/
And another helful link: http://www.useragentman.com/blog/2012/01/03/cross-browser-html5-progress-bars-in-depth/
This is an old bug. The progress monitoring has evolved. Closing this - if future work is identified let's raise a new bug.