// SetTriggerEvent If the triggering event already exists, it is overwritten.
SetTriggerEvent If the triggering event already exists, it is overwritten.
// SetTriggerEvent If the triggering event already exists it is overwritten .
func (emit Emits) SetTriggerEvent(key string, event *TriggerEvent) Emits {
	access.Lock()
	defer access.Unlock()
	emit[key] = event
	return emit
}
func ( emit Emits ) SetTriggerEvent ( key string , event * TriggerEvent ) Emits { access . Lock ( ) defer access . Unlock ( ) emit [ key ] = event return emit }
SetTriggerEvent If the triggering event already exists, it is overwritten.
SetTriggerEvent If the triggering event already exists it is overwritten .