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

Function unwindInterruptedWork

code/third-party/public/app.js:10318–10345  ·  view source on GitHub ↗
(interruptedWork)

Source from the content-addressed store, hash-verified

10316 }
10317
10318 function unwindInterruptedWork(interruptedWork) {
10319 switch (interruptedWork.tag) {
10320 case ClassComponent:
10321 {
10322 popLegacyContextProvider(interruptedWork);
10323 break;
10324 }
10325 case HostRoot:
10326 {
10327 popHostContainer(interruptedWork);
10328 popTopLevelLegacyContextObject(interruptedWork);
10329 break;
10330 }
10331 case HostComponent:
10332 {
10333 popHostContext(interruptedWork);
10334 break;
10335 }
10336 case HostPortal:
10337 popHostContainer(interruptedWork);
10338 break;
10339 case ContextProvider:
10340 popProvider(interruptedWork);
10341 break;
10342 default:
10343 break;
10344 }
10345 }
10346
10347 return {
10348 throwException: throwException,

Callers 1

resetStackFunction · 0.70

Calls 3

popHostContainerFunction · 0.70
popHostContextFunction · 0.70
popProviderFunction · 0.70

Tested by

no test coverage detected