code: func (e *Emitter) On(event string, fn EventHandlerFunc) {
  	if fn == nil {
  		delete(e.handlers, event)
  	} else {
  		e.handlers[event] = fn
  	}
  }
docs: // On(event, cb) registers an handler for the specified event