Browse Source

async

master
zeus 4 years ago
parent
commit
b5bf5bec11
  1. 2
      swarmlab-app/src/run/app.js

2
swarmlab-app/src/run/app.js

@ -486,6 +486,7 @@ function onCollection(err, collection) {
});
})() //await inside yes
}else{
(async() => {
await pubClient.get(pathfileval, function(err, object) {
var objecttmp = JSON.parse(object);
var resob1 = {}
@ -511,6 +512,7 @@ function onCollection(err, collection) {
itemsProcessed++;
});
});
})() //await inside no
}
}); //redis get
})() //async

Loading…
Cancel
Save