Implement download tasks
This commit is contained in:
1 parent
cfb62adfe8
commit
99e7c8a14c
4 files changed
+134
-28
No files matched your search
@@ -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
|
||||
};
|
||||
Reference in new issue
Block a user