Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/facebook/react
/ sleep
Function
sleep
fixtures/flight/src/actions.js:5–7 ·
view source on GitHub ↗
(ms)
Source
from the content-addressed store, hash-verified
3
import
{setServerState} from
'./ServerState.js'
;
4
5
async
function
sleep(ms) {
6
return
new
Promise(resolve => setTimeout(resolve, ms));
7
}
8
9
export
async
function
like() {
10
// Test loading state
Callers
2
like
Function · 0.70
increment
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected