code: func (e *eventEmitter) WaitFor(ev EventType) {
  	done := make(chan bool)
  
  	go func() {
  		e.Once(ev, func(e Event) {
  			done <- true
  		})
  	}()
  
  	<-done
  }
docs: // Blocks until an event is received. Mainly for backwards-compatibility.