feature(cloudcmd) add ability to show progress on move (#157)

This commit is contained in:
coderaiser 2018-05-08 10:57:41 +03:00
parent c793082ec8
commit 697df5846f
4 changed files with 20 additions and 46 deletions

View file

@ -118,6 +118,11 @@ function OperationProto(operation, data) {
.then(setListeners(callback));
};
moveFn = (data, callback) => {
operator.move(data.from, data.to, data.names)
.then(setListeners(callback));
};
extractFn = (data, callback) => {
operator.extract(data.from, data.to)
.then(setListeners({noContinue: true}, callback));