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