code: func (mod *SerialBee) Run(eventChan chan bees.Event) {
  	if mod.baudrate == 0 || mod.device == "" {
  		return
  	}
  
  	var err error
  
  	options := serial.OpenOptions{
  		PortName: mod.device,
  		BaudRate: uint(mod.baudrate),
  	}
  	mod.conn, err = serial.Open(options)
  	if err != nil {
  		mod.LogFatal(err)
  	}
  	defer mod.conn.Close()
  
  	go func() {
  		for {
  			if err := mod.handleEvents(eventChan); err != nil {
  				return
  			}
  		}
  	}()
  
  	select {
  	case <-mod.SigChan:
  		return
  	}
  }
docs: // Run executes the Bee's event loop.