MCPcopy Index your code
hub / github.com/krasimir/react-in-patterns / syncUpdates

Function syncUpdates

code/composition/public/app.js:13677–13685  ·  view source on GitHub ↗
(fn, a, b, c, d)

Source from the content-addressed store, hash-verified

13675 }
13676 }
13677 function syncUpdates(fn, a, b, c, d) {
13678 var previousExpirationContext = expirationContext;
13679 expirationContext = Sync;
13680 try {
13681 return fn(a, b, c, d);
13682 } finally {
13683 expirationContext = previousExpirationContext;
13684 }
13685 }
13686
13687 // TODO: Everything below this is written as if it has been lifted to the
13688 // 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