(fn)
| 14078 | } |
| 14079 | |
| 14080 | function flushControlled(fn) { |
| 14081 | var previousIsBatchingUpdates = isBatchingUpdates; |
| 14082 | isBatchingUpdates = true; |
| 14083 | try { |
| 14084 | syncUpdates(fn); |
| 14085 | } finally { |
| 14086 | isBatchingUpdates = previousIsBatchingUpdates; |
| 14087 | if (!isBatchingUpdates && !isRendering) { |
| 14088 | performWork(Sync, false, null); |
| 14089 | } |
| 14090 | } |
| 14091 | } |
| 14092 | |
| 14093 | return { |
| 14094 | recalculateCurrentTime: recalculateCurrentTime, |
nothing calls this directly
no test coverage detected