(fn)
| 14123 | } |
| 14124 | |
| 14125 | function flushControlled(fn) { |
| 14126 | var previousIsBatchingUpdates = isBatchingUpdates; |
| 14127 | isBatchingUpdates = true; |
| 14128 | try { |
| 14129 | syncUpdates(fn); |
| 14130 | } finally { |
| 14131 | isBatchingUpdates = previousIsBatchingUpdates; |
| 14132 | if (!isBatchingUpdates && !isRendering) { |
| 14133 | performWork(Sync, false, null); |
| 14134 | } |
| 14135 | } |
| 14136 | } |
| 14137 | |
| 14138 | return { |
| 14139 | recalculateCurrentTime: recalculateCurrentTime, |
nothing calls this directly
no test coverage detected