(fn, a, b, c, d)
| 22014 | } |
| 22015 | } |
| 22016 | function discreteUpdates$1(fn, a, b, c, d) { |
| 22017 | var prevExecutionContext = executionContext; |
| 22018 | executionContext |= DiscreteEventContext; |
| 22019 | |
| 22020 | try { |
| 22021 | // Should this |
| 22022 | return runWithPriority$1(UserBlockingPriority$1, fn.bind(null, a, b, c, d)); |
| 22023 | } finally { |
| 22024 | executionContext = prevExecutionContext; |
| 22025 | |
| 22026 | if (executionContext === NoContext) { |
| 22027 | // Flush the immediate callbacks that were scheduled during this batch |
| 22028 | flushSyncCallbackQueue(); |
| 22029 | } |
| 22030 | } |
| 22031 | } |
| 22032 | function unbatchedUpdates(fn, a) { |
| 22033 | var prevExecutionContext = executionContext; |
| 22034 | executionContext &= ~BatchedContext; |
nothing calls this directly
no test coverage detected