// ShiftEvent extracts and returns the first event in the queue.
ShiftEvent extracts and returns the first event in the queue.
// ShiftEvent extracts and returns the first event in the queue .
func (event_dispatcher EventDispatcher_struct) ShiftEvent() ( return_report error_report.ErrorReport_struct ){
	var function_return error_report.ErrorReport_struct;
	function_return = event_dispatcher.ExtractEventByIndex( 0 );
	if( function_return.NoError() == true ){
		return_report = error_report.New( 0, map[string]interface{}{ "event": function_return.Data["event"] }, &function_return );
	} else{
		return_report = error_report.New( ERROR_CODE_SUBORDINATE_FUNCTION_ERROR, map[string]interface{}{}, &function_return );
	}
	return return_report;
}
func ( event_dispatcher EventDispatcher_struct ) ShiftEvent ( ) ( return_report error_report . ErrorReport_struct ) { var function_return error_report . ErrorReport_struct ; function_return = event_dispatcher . ExtractEventByIndex ( 0 ) ; if ( function_return . NoError ( ) == true ) { return_report = error_report . New ( 0 , map [ string ] interface { } { " " : function_return . Data [ " " ] } , & function_return ) ; } else { return_report = error_report . New ( ERROR_CODE_SUBORDINATE_FUNCTION_ERROR , map [ string ] interface { } { } , & function_return ) ; } return return_report ; }
ShiftEvent extracts and returns the first event in the queue.
ShiftEvent extracts and returns the first event in the queue .
//Variables //Parametres //Function //Return