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

Function syncUpdates

code/styling/public/app.js:13539–13547  ·  view source on GitHub ↗
(fn, a, b, c, d)

Source from the content-addressed store, hash-verified

13537 }
13538 }
13539 function syncUpdates(fn, a, b, c, d) {
13540 var previousExpirationContext = expirationContext;
13541 expirationContext = Sync;
13542 try {
13543 return fn(a, b, c, d);
13544 } finally {
13545 expirationContext = previousExpirationContext;
13546 }
13547 }
13548
13549 // TODO: Everything below this is written as if it has been lifted to the
13550 // renderers. I'll do this in a follow-up.

Callers 2

flushSyncFunction · 0.70
flushControlledFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected