MCPcopy Create free account
hub / github.com/Criptext/Criptext-Email-React-Client / sleep

Function sleep

electron_app/src/backup/exporter.js:118–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116};
117
118const sleep = time => {
119 return new Promise(resolve => {
120 setTimeout(() => {
121 resolve();
122 }, time);
123 });
124};
125
126const handleRegisterBackup = (email, backupPath) => {
127 const audit = loadJson(process.env.AUDITPATH);

Callers 1

startFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected