move shell generation into slice (new) post-processor which means it can be distributed and co-located with slicing in minion

This commit is contained in:
Stewart Allen 2021-06-23 22:31:27 -04:00
commit e2ef4ff7e2
10 changed files with 246 additions and 156 deletions

View file

@ -38,8 +38,8 @@
let count = 0;
if (tracker)
for (let p of promises) {
p.then(() => {
tracker(count++, promises.length);
p.then(data => {
tracker(count++, promises.length, data);
});
}
await Promise.all(promises);