// ProcessEvent_Unsafe actually transmits the event.
ProcessEvent_Unsafe actually transmits the event.
// ProcessEvent_Unsafe actually transmits the event .
func (event_dispatcher EventDispatcher_struct) ProcessEvent_Unsafe( event Event_struct ) ( return_report error_report.ErrorReport_struct ){
	var i int; 
	var match bool;
	var index_string string;
	var function_return error_report.ErrorReport_struct;
	if( event_dispatcher.add_times == true ){
		event.data["transmission_time"] = time.Now();
	}
	for i = 0; i < len(event_dispatcher.event_listeners_slice); i++ {
		match, function_return = event_dispatcher.event_listeners_slice[i].key.Match( event.name );
		if( function_return.NoError() == true ){
			if( match == true ){
				if( event_dispatcher.event_listeners_slice[i].async == true ){
					go event_dispatcher.event_listeners_slice[i].function( event );
				} else{
					event_dispatcher.event_listeners_slice[i].function( event );
				}
			}
		} else{
			index_string = strconv.FormatUint( uint64(i), 10 );
			if( return_report.CodeEqual( 0 ) == true ){
				return_report = error_report.New( ERROR_CODE_EVENT_LISTENER_MATCH, map[string]interface{}{ "message": "Matching against an event listener returned an error.", index_string: function_return }, nil);
			} else{
				return_report.Data[index_string] = function_return;
			}
		}
	}
	return return_report;
}
func ( event_dispatcher EventDispatcher_struct ) ProcessEvent_Unsafe ( event Event_struct ) ( return_report error_report . ErrorReport_struct ) { var i int ; var match bool ; var index_string string ; var function_return error_report . ErrorReport_struct ; if ( event_dispatcher . add_times == true ) { event . data [ " " ] = time . Now ( ) ; } for i = 0 ; i < len ( event_dispatcher . event_listeners_slice ) ; i ++ { match , function_return = event_dispatcher . event_listeners_slice [ i ] . key . Match ( event . name ) ; if ( function_return . NoError ( ) == true ) { if ( match == true ) { if ( event_dispatcher . event_listeners_slice [ i ] . async == true ) { go event_dispatcher . event_listeners_slice [ i ] . function ( event ) ; } else { event_dispatcher . event_listeners_slice [ i ] . function ( event ) ; } } } else { index_string = strconv . FormatUint ( uint64 ( i ) , 10 ) ; if ( return_report . CodeEqual ( 0 ) == true ) { return_report = error_report . New ( ERROR_CODE_EVENT_LISTENER_MATCH , map [ string ] interface { } { " " : " " , index_string : function_return } , nil ) ; } else { return_report . Data [ index_string ] = function_return ; } } } return return_report ; }
ProcessEvent_Unsafe actually transmits the event.
ProcessEvent_Unsafe actually transmits the event .
//Variables //Event listener index //Parametres //Function //Return