Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheSmallHanCat/flow2api
/ sleep
Function
sleep
extension/background.js:40–42 ·
view source on GitHub ↗
(ms)
Source
from the content-addressed store, hash-verified
38
}
39
40
function
sleep(ms) {
41
return
new
Promise(resolve => setTimeout(resolve, ms));
42
}
43
44
function
waitForTabReady(tabId, timeoutMs = 12000) {
45
return
new
Promise((resolve) => {
Callers
1
handleGetToken
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected