Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/adobe/react-spectrum
/ getItems
Function
getItems
packages/react-stately/test/data/useAsyncList.test.js:26–30 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
24
];
25
26
function
getItems() {
27
return
new
Promise(resolve => {
28
setTimeout(() => resolve({items: ITEMS, cursor: 3}), 100);
29
});
30
}
31
32
function
getItems2() {
33
return
new
Promise(resolve => {
Callers
nothing calls this directly
Calls
1
resolve
Function · 0.50
Tested by
no test coverage detected