1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-10-07 12:25:13 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

Add a delay after download

This commit is contained in:
sunnylqm
2021-06-17 17:16:51 +08:00
parent 30425db7b2
commit da7e9c6498

View File

@@ -179,6 +179,7 @@ export async function downloadUpdate(options, eventListeners) {
});
}
progressHandler && progressHandler.remove();
await new Promise((resolve) => setTimeout(resolve, 100));
return options.hash;
}