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

Function unwindInterruptedWork

code/redux/public/app.js:11336–11363  ·  view source on GitHub ↗
(interruptedWork)

Source from the content-addressed store, hash-verified

11334 }
11335
11336 function unwindInterruptedWork(interruptedWork) {
11337 switch (interruptedWork.tag) {
11338 case ClassComponent:
11339 {
11340 popLegacyContextProvider(interruptedWork);
11341 break;
11342 }
11343 case HostRoot:
11344 {
11345 popHostContainer(interruptedWork);
11346 popTopLevelLegacyContextObject(interruptedWork);
11347 break;
11348 }
11349 case HostComponent:
11350 {
11351 popHostContext(interruptedWork);
11352 break;
11353 }
11354 case HostPortal:
11355 popHostContainer(interruptedWork);
11356 break;
11357 case ContextProvider:
11358 popProvider(interruptedWork);
11359 break;
11360 default:
11361 break;
11362 }
11363 }
11364
11365 return {
11366 throwException: throwException,

Callers 1

resetStackFunction · 0.70

Calls 3

popHostContainerFunction · 0.70
popHostContextFunction · 0.70
popProviderFunction · 0.70

Tested by

no test coverage detected