function processEventQueue(simulated) {
	    // Set `eventQueue` to null before processing it so that we can tell if more
	    // events get enqueued while processing.
	    var processingEventQueue = eventQueue;
	    eventQueue = null;
	    if (simulated) {
	      forEachAccumulated(processingEventQueue, executeDispatchesAndReleaseSimulated);
	    } else {
	      forEachAccumulated(processingEventQueue, executeDispatchesAndReleaseTopLevel);
	    }
	    !!eventQueue ? process.env.NODE_ENV !== 'production' ? invariant(false, 'processEventQueue(): Additional events were enqueued while processing ' + 'an event queue. Support for this has not yet been implemented.') : invariant(false) : void 0;
	    // This would be a good time to rethrow if any of the event handlers threw.
	    ReactErrorUtils.rethrowCaughtError();
	  }
/**
	   * Dispatches all synthetic events on the event queue.
	   *
	   * @internal
	   */
Dispatches all synthetic events on the event queue.
@internal
Dispatches all synthetic events on the event queue . @internal
function processEventQueue(simulated) {
	    var processingEventQueue = eventQueue;
	    eventQueue = null;
	    if (simulated) {
	      forEachAccumulated(processingEventQueue, executeDispatchesAndReleaseSimulated);
	    } else {
	      forEachAccumulated(processingEventQueue, executeDispatchesAndReleaseTopLevel);
	    }
	    !!eventQueue ? process.env.NODE_ENV !== 'production' ? invariant(false, 'processEventQueue(): Additional events were enqueued while processing ' + 'an event queue. Support for this has not yet been implemented.') : invariant(false) : void 0;
	    ReactErrorUtils.rethrowCaughtError();
	  }
function processEventQueue ( simulated ) { var processingEventQueue = eventQueue ; eventQueue = null ; if ( simulated ) { forEachAccumulated ( processingEventQueue , executeDispatchesAndReleaseSimulated ) ; } else { forEachAccumulated ( processingEventQueue , executeDispatchesAndReleaseTopLevel ) ; } ! ! eventQueue ? process . env . NODE_ENV !== 'production' ? invariant ( false , 'processEventQueue(): Additional events were enqueued while processing ' + 'an event queue. Support for this has not yet been implemented.' ) : invariant ( false ) : void 0 ; ReactErrorUtils . rethrowCaughtError ( ) ; }
Dispatches all synthetic events on the event queue.
Dispatches all synthetic events on the event queue .
// Set `eventQueue` to null before processing it so that we can tell if more // events get enqueued while processing. // This would be a good time to rethrow if any of the event handlers threw.