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

Function syncUpdates

code/event-handlers/public/app.js:12869–12877  ·  view source on GitHub ↗
(fn, a, b, c, d)

Source from the content-addressed store, hash-verified

12867 }
12868 }
12869 function syncUpdates(fn, a, b, c, d) {
12870 var previousExpirationContext = expirationContext;
12871 expirationContext = Sync;
12872 try {
12873 return fn(a, b, c, d);
12874 } finally {
12875 expirationContext = previousExpirationContext;
12876 }
12877 }
12878
12879 // TODO: Everything below this is written as if it has been lifted to the
12880 // 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