* Enqueue a callback to be run at the end of the current batching cycle. Throws * if no updates are currently being performed.
(callback, context)
| 2296 | * if no updates are currently being performed. |
| 2297 | */ |
| 2298 | function asap(callback, context) { |
| 2299 | !batchingStrategy.isBatchingUpdates ? true ? invariant(false, 'ReactUpdates.asap: Can\'t enqueue an asap callback in a context whereupdates are not being batched.') : _prodInvariant('125') : void 0; |
| 2300 | asapCallbackQueue.enqueue(callback, context); |
| 2301 | asapEnqueued = true; |
| 2302 | } |
| 2303 | |
| 2304 | var ReactUpdatesInjection = { |
| 2305 | injectReconcileTransaction: function (ReconcileTransaction) { |
no test coverage detected