MCPcopy Index your code
hub / github.com/krasimir/react-in-patterns / unwindInterruptedWork

Function unwindInterruptedWork

code/composition/public/app.js:11223–11250  ·  view source on GitHub ↗
(interruptedWork)

Source from the content-addressed store, hash-verified

11221 }
11222
11223 function unwindInterruptedWork(interruptedWork) {
11224 switch (interruptedWork.tag) {
11225 case ClassComponent:
11226 {
11227 popLegacyContextProvider(interruptedWork);
11228 break;
11229 }
11230 case HostRoot:
11231 {
11232 popHostContainer(interruptedWork);
11233 popTopLevelLegacyContextObject(interruptedWork);
11234 break;
11235 }
11236 case HostComponent:
11237 {
11238 popHostContext(interruptedWork);
11239 break;
11240 }
11241 case HostPortal:
11242 popHostContainer(interruptedWork);
11243 break;
11244 case ContextProvider:
11245 popProvider(interruptedWork);
11246 break;
11247 default:
11248 break;
11249 }
11250 }
11251
11252 return {
11253 throwException: throwException,

Callers 1

resetStackFunction · 0.70

Calls 3

popHostContainerFunction · 0.70
popHostContextFunction · 0.70
popProviderFunction · 0.70

Tested by

no test coverage detected