MCPcopy
hub / github.com/facebook/react / cacheSignal

Function cacheSignal

packages/react-reconciler/src/ReactFiberAsyncDispatcher.js:28–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26}
27
28function cacheSignal(): null | AbortSignal {
29 const cache: Cache = readContext(CacheContext);
30 return cache.controller.signal;
31}
32
33export const DefaultAsyncDispatcher: AsyncDispatcher = ({
34 getCacheForType,

Callers 2

ReactCache-test.jsFile · 0.50
TestFunction · 0.50

Calls 1

readContextFunction · 0.90

Tested by 1

TestFunction · 0.40