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

Function syncUpdates

code/dependency-injection/public/app.js:13632–13640  ·  view source on GitHub ↗
(fn, a, b, c, d)

Source from the content-addressed store, hash-verified

13630 }
13631 }
13632 function syncUpdates(fn, a, b, c, d) {
13633 var previousExpirationContext = expirationContext;
13634 expirationContext = Sync;
13635 try {
13636 return fn(a, b, c, d);
13637 } finally {
13638 expirationContext = previousExpirationContext;
13639 }
13640 }
13641
13642 // TODO: Everything below this is written as if it has been lifted to the
13643 // 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