MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / unwindInterruptedWork

Function unwindInterruptedWork

code/styling/public/app.js:11085–11112  ·  view source on GitHub ↗
(interruptedWork)

Source from the content-addressed store, hash-verified

11083 }
11084
11085 function unwindInterruptedWork(interruptedWork) {
11086 switch (interruptedWork.tag) {
11087 case ClassComponent:
11088 {
11089 popLegacyContextProvider(interruptedWork);
11090 break;
11091 }
11092 case HostRoot:
11093 {
11094 popHostContainer(interruptedWork);
11095 popTopLevelLegacyContextObject(interruptedWork);
11096 break;
11097 }
11098 case HostComponent:
11099 {
11100 popHostContext(interruptedWork);
11101 break;
11102 }
11103 case HostPortal:
11104 popHostContainer(interruptedWork);
11105 break;
11106 case ContextProvider:
11107 popProvider(interruptedWork);
11108 break;
11109 default:
11110 break;
11111 }
11112 }
11113
11114 return {
11115 throwException: throwException,

Callers 1

resetStackFunction · 0.70

Calls 3

popHostContainerFunction · 0.70
popHostContextFunction · 0.70
popProviderFunction · 0.70

Tested by

no test coverage detected