Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/react/react
/ getCache
Function
getCache
packages/react-server/src/ReactFlightServer.js:1344–1346 ·
view source on GitHub ↗
(request: Request)
Source
from the content-addressed store, hash-verified
1342
}
1343
1344
export
function
getCache(request: Request): Map<Function, mixed> {
1345
return
request.cache;
1346
}
1347
1348
function
readThenable<T>(thenable: Thenable<T>): T {
1349
if
(thenable.status ===
'fulfilled'
) {
Callers
1
resolveCache
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected