func (s *State) AppendEntriesEvent(event ...*AppendEntriesRequest) chan *AppendEntriesRequest {
	if len(event) > 0 {
		go func() {
			s.appendEntriesChan <- event[0]
		}()
	}
	return s.appendEntriesChan
}
// AppendEntriesEvent returns a channel for any succesful append entries events.
AppendEntriesEvent returns a channel for any succesful append entries events.
// AppendEntriesEvent returns a channel for any succesful append entries events .
func (s *State) AppendEntriesEvent(event ...*AppendEntriesRequest) chan *AppendEntriesRequest {
	if len(event) > 0 {
		go func() {
			s.appendEntriesChan <- event[0]
		}()
	}
	return s.appendEntriesChan
}
func ( s * State ) AppendEntriesEvent ( event ... * AppendEntriesRequest ) chan * AppendEntriesRequest { if len ( event ) > 0 { go func ( ) { s . appendEntriesChan <- event [ 0 ] } ( ) } return s . appendEntriesChan }
AppendEntriesEvent returns a channel for any succesful append entries events.
AppendEntriesEvent returns a channel for any succesful append entries events .