MCPcopy Index your code
hub / github.com/microsoft/SandDance / batchedEventUpdates$1

Function batchedEventUpdates$1

docs/external/js/react-dom.development.js:22001–22015  ·  view source on GitHub ↗
(fn, a)

Source from the content-addressed store, hash-verified

21999 }
22000 }
22001 function batchedEventUpdates$1(fn, a) {
22002 var prevExecutionContext = executionContext;
22003 executionContext |= EventContext;
22004
22005 try {
22006 return fn(a);
22007 } finally {
22008 executionContext = prevExecutionContext;
22009
22010 if (executionContext === NoContext) {
22011 // Flush the immediate callbacks that were scheduled during this batch
22012 flushSyncCallbackQueue();
22013 }
22014 }
22015 }
22016 function discreteUpdates$1(fn, a, b, c, d) {
22017 var prevExecutionContext = executionContext;
22018 executionContext |= DiscreteEventContext;

Callers

nothing calls this directly

Calls 2

flushSyncCallbackQueueFunction · 0.85
fnFunction · 0.50

Tested by

no test coverage detected