func (s *State) HeartbeatReset(reset ...bool) <-chan struct{} {
	if len(reset) > 0 {
		s.heartbeatResetChan <- struct{}{}
	}
	return s.heartbeatResetChan
}
// HeartbeatReset will signal a reset. This works with a listener for HeartbeatTick.
HeartbeatReset will signal a reset. This works with a listener for HeartbeatTick.
// HeartbeatReset will signal a reset . This works with a listener for HeartbeatTick .
func (s *State) HeartbeatReset(reset ...bool) <-chan struct{} {
	if len(reset) > 0 {
		s.heartbeatResetChan <- struct{}{}
	}
	return s.heartbeatResetChan
}
func ( s * State ) HeartbeatReset ( reset ... bool ) <- chan struct { } { if len ( reset ) > 0 { s . heartbeatResetChan <- struct { } { } } return s . heartbeatResetChan }
HeartbeatReset will signal a reset.
HeartbeatReset will signal a reset .