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

Function syncUpdates

code/redux/public/app.js:13790–13798  ·  view source on GitHub ↗
(fn, a, b, c, d)

Source from the content-addressed store, hash-verified

13788 }
13789 }
13790 function syncUpdates(fn, a, b, c, d) {
13791 var previousExpirationContext = expirationContext;
13792 expirationContext = Sync;
13793 try {
13794 return fn(a, b, c, d);
13795 } finally {
13796 expirationContext = previousExpirationContext;
13797 }
13798 }
13799
13800 // TODO: Everything below this is written as if it has been lifted to the
13801 // 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