Community
Participate
Working Groups
At the moment we have status fetching logic mixed in with our Status Reporting Service. The problem with this is that the fetching assumes in can do an XHR to get status updates. We could create an "orion.core.status" service but supporting a long running operation is so common we should just bite the bullet and support it directly in the service registry. Each service call returns a promise object that has a "then" method. The then method should be made to take an optional "progressHandler" function as it's third argument. e.g. promise.then(onSuccess, onError, onProgress) Dojo.Deferred already has this support and it's more generally spec'ed here -- http://wiki.commonjs.org/wiki/Promises/A We just need to support this in the serviceregistry, pluginregistry, and plugin orion components.
Fixed. a8914126b5b2eff64a18e8a1cc2a6074cc42c504
Also see http://bugs.dojotoolkit.org/ticket/14090