MCPcopy Create free account
hub / github.com/reactjs/react-rails / batchedUpdates$1

Function batchedUpdates$1

lib/assets/react-source/development/react.js:25546–25560  ·  view source on GitHub ↗
(fn, a)

Source from the content-addressed store, hash-verified

25544 }
25545
25546 function batchedUpdates$1(fn, a) {
25547 var prevExecutionContext = executionContext;
25548 executionContext |= BatchedContext;
25549
25550 try {
25551 return fn(a);
25552 } finally {
25553 executionContext = prevExecutionContext;
25554
25555 if (executionContext === NoContext) {
25556 // Flush the immediate callbacks that were scheduled during this batch
25557 flushSyncCallbackQueue();
25558 }
25559 }
25560 }
25561 function batchedEventUpdates$1(fn, a) {
25562 var prevExecutionContext = executionContext;
25563 executionContext |= EventContext;

Callers

nothing calls this directly

Calls 2

fnFunction · 0.85
flushSyncCallbackQueueFunction · 0.85

Tested by

no test coverage detected