MCPcopy Create free account
hub / github.com/microsoft/SandDance / hasSuspenseContext

Function hasSuspenseContext

docs/external/js/react-dom.development.js:14628–14630  ·  view source on GitHub ↗
(parentContext, flag)

Source from the content-addressed store, hash-verified

14626 var ForceSuspenseFallback = 2;
14627 var suspenseStackCursor = createCursor(DefaultSuspenseContext);
14628 function hasSuspenseContext(parentContext, flag) {
14629 return (parentContext & flag) !== 0;
14630 }
14631 function setDefaultShallowSuspenseContext(parentContext) {
14632 return parentContext & SubtreeSuspenseContextMask;
14633 }

Callers 4

shouldRemainOnFallbackFunction · 0.85
completeWorkFunction · 0.85
throwExceptionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected