docs: function EventBus(
     configuration,
     nextTick,
     timeoutFunction,
     errorHandler
  ) {
     this.nextTick_ = f => nextTick( f );
     this.timeoutFunction_ = ( f, ms ) => timeoutFunction( f, ms );
     this.timeoutMs_ = configuration.ensure( 'eventBusTimeoutMs' );
     this.errorHandler_ = errorHandler;
  
     this.cycleCounter_ = 0;
     this.eventQueue_ = [];
     this.subscriberTree_ = {};
  
     this.waitingPromiseResolves_ = [];
     this.currentCycle_ = -1;
     this.inspectors_ = [];
  }