(fn, a)
| 25590 | } |
| 25591 | } |
| 25592 | function unbatchedUpdates(fn, a) { |
| 25593 | var prevExecutionContext = executionContext; |
| 25594 | executionContext &= ~BatchedContext; |
| 25595 | executionContext |= LegacyUnbatchedContext; |
| 25596 | |
| 25597 | try { |
| 25598 | return fn(a); |
| 25599 | } finally { |
| 25600 | executionContext = prevExecutionContext; |
| 25601 | |
| 25602 | if (executionContext === NoContext) { |
| 25603 | // Flush the immediate callbacks that were scheduled during this batch |
| 25604 | flushSyncCallbackQueue(); |
| 25605 | } |
| 25606 | } |
| 25607 | } |
| 25608 | function flushSync(fn, a) { |
| 25609 | if ((executionContext & (RenderContext | CommitContext)) !== NoContext) { |
| 25610 | { |
no test coverage detected