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

Function unwindInterruptedWork

code/communication/public/app.js:11120–11147  ·  view source on GitHub ↗
(interruptedWork)

Source from the content-addressed store, hash-verified

11118 }
11119
11120 function unwindInterruptedWork(interruptedWork) {
11121 switch (interruptedWork.tag) {
11122 case ClassComponent:
11123 {
11124 popLegacyContextProvider(interruptedWork);
11125 break;
11126 }
11127 case HostRoot:
11128 {
11129 popHostContainer(interruptedWork);
11130 popTopLevelLegacyContextObject(interruptedWork);
11131 break;
11132 }
11133 case HostComponent:
11134 {
11135 popHostContext(interruptedWork);
11136 break;
11137 }
11138 case HostPortal:
11139 popHostContainer(interruptedWork);
11140 break;
11141 case ContextProvider:
11142 popProvider(interruptedWork);
11143 break;
11144 default:
11145 break;
11146 }
11147 }
11148
11149 return {
11150 throwException: throwException,

Callers 1

resetStackFunction · 0.70

Calls 3

popHostContainerFunction · 0.70
popHostContextFunction · 0.70
popProviderFunction · 0.70

Tested by

no test coverage detected