Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/facebook/react
/ sleep
Function
sleep
fixtures/view-transition/src/components/Page.js:23–25 ·
view source on GitHub ↗
(ms)
Source
from the content-addressed store, hash-verified
21
import
NestedReveal from
'./NestedReveal.js'
;
22
23
async
function
sleep(ms) {
24
return
new
Promise(resolve => setTimeout(resolve, ms));
25
}
26
27
const
a = (
28
<div key=
"a"
>
Callers
2
Suspend
Function · 0.70
Page.js
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected