()
| 2143 | } |
| 2144 | |
| 2145 | function commit() { |
| 2146 | if (!queuedCommit) { |
| 2147 | microTask(_commit); |
| 2148 | queuedCommit = true; |
| 2149 | } |
| 2150 | } |
| 2151 | |
| 2152 | // manual batching (aka immediate mode), skips microtask queue |
| 2153 | function batch(fn, _deferHooks = false) { |