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

Function unwindInterruptedWork

code/dependency-injection/public/app.js:11178–11205  ·  view source on GitHub ↗
(interruptedWork)

Source from the content-addressed store, hash-verified

11176 }
11177
11178 function unwindInterruptedWork(interruptedWork) {
11179 switch (interruptedWork.tag) {
11180 case ClassComponent:
11181 {
11182 popLegacyContextProvider(interruptedWork);
11183 break;
11184 }
11185 case HostRoot:
11186 {
11187 popHostContainer(interruptedWork);
11188 popTopLevelLegacyContextObject(interruptedWork);
11189 break;
11190 }
11191 case HostComponent:
11192 {
11193 popHostContext(interruptedWork);
11194 break;
11195 }
11196 case HostPortal:
11197 popHostContainer(interruptedWork);
11198 break;
11199 case ContextProvider:
11200 popProvider(interruptedWork);
11201 break;
11202 default:
11203 break;
11204 }
11205 }
11206
11207 return {
11208 throwException: throwException,

Callers 1

resetStackFunction · 0.70

Calls 3

popHostContainerFunction · 0.70
popHostContextFunction · 0.70
popProviderFunction · 0.70

Tested by

no test coverage detected