Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/hoothin/UserScripts
/ sleep
Function
sleep
DownloadAllContent/DownloadAllContent.user.js:1711–1717 ·
view source on GitHub ↗
(time)
Source
from the content-addressed store, hash-verified
1709
}
1710
1711
async
function
sleep(time) {
1712
await
new
Promise((resolve) => {
1713
setTimeout(() => {
1714
resolve();
1715
}, time);
1716
})
1717
}
1718
1719
async
function
fetch(forceSingle){
1720
forceSingle=forceSingle===true;
Callers
1
fetch
Function · 0.70
Calls
1
resolve
Function · 0.50
Tested by
no test coverage detected