code: function (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.') : _prodInvariant('95') : void 0;
  	    // This would be a good time to rethrow if any of the event handlers threw.
  	    ReactErrorUtils.rethrowCaughtError();
  	  }
docs: Dispatches all synthetic events on the event queue.
  
  @internal