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

Function syncUpdates

code/communication/public/app.js:13574–13582  ·  view source on GitHub ↗
(fn, a, b, c, d)

Source from the content-addressed store, hash-verified

13572 }
13573 }
13574 function syncUpdates(fn, a, b, c, d) {
13575 var previousExpirationContext = expirationContext;
13576 expirationContext = Sync;
13577 try {
13578 return fn(a, b, c, d);
13579 } finally {
13580 expirationContext = previousExpirationContext;
13581 }
13582 }
13583
13584 // TODO: Everything below this is written as if it has been lifted to the
13585 // 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