(fn)
| 14020 | } |
| 14021 | |
| 14022 | function flushControlled(fn) { |
| 14023 | var previousIsBatchingUpdates = isBatchingUpdates; |
| 14024 | isBatchingUpdates = true; |
| 14025 | try { |
| 14026 | syncUpdates(fn); |
| 14027 | } finally { |
| 14028 | isBatchingUpdates = previousIsBatchingUpdates; |
| 14029 | if (!isBatchingUpdates && !isRendering) { |
| 14030 | performWork(Sync, false, null); |
| 14031 | } |
| 14032 | } |
| 14033 | } |
| 14034 | |
| 14035 | return { |
| 14036 | recalculateCurrentTime: recalculateCurrentTime, |
nothing calls this directly
no test coverage detected