Implement download tasks

This commit is contained in:
Zaid Abdulla committed 2018-12-26 00:22:07 -08:00
1 parent cfb62adfe8
commit 99e7c8a14c
4 files changed
+134 -28

No files matched your search

+5
View File
@@ -36,6 +36,10 @@ function stageSpv(task) {
staging.add(task);
}
function stageDownload(task) {
staging.add(task);
}
function commit(tasks, callback) {
let devices = {};
for (let t of tasks) {
@@ -76,5 +80,6 @@ export {
getStaging,
clearStaging,
stageSpv,
stageDownload,
commit
};