(fn)
| 13309 | } |
| 13310 | |
| 13311 | function flushControlled(fn) { |
| 13312 | var previousIsBatchingUpdates = isBatchingUpdates; |
| 13313 | isBatchingUpdates = true; |
| 13314 | try { |
| 13315 | syncUpdates(fn); |
| 13316 | } finally { |
| 13317 | isBatchingUpdates = previousIsBatchingUpdates; |
| 13318 | if (!isBatchingUpdates && !isRendering) { |
| 13319 | performWork(Sync, false, null); |
| 13320 | } |
| 13321 | } |
| 13322 | } |
| 13323 | |
| 13324 | return { |
| 13325 | recalculateCurrentTime: recalculateCurrentTime, |
nothing calls this directly
no test coverage detected