// Tick is a convenience wrapper for NewTicker providing access to the ticking
// channel only.
Tick is a convenience wrapper for NewTicker providing access to the ticking
channel only.
// Tick is a convenience wrapper for NewTicker providing access to the ticking // channel only .
func (s *Simulator) Tick(d time.Duration) <-chan time.Time {
	s.Lock()
	defer s.Unlock()
	if d <= 0 {
		return nil
	}
	return s.newTicker(d).C
}
func ( s * Simulator ) Tick ( d time . Duration ) <- chan time . Time { s . Lock ( ) defer s . Unlock ( ) if d <= 0 { return nil } return s . newTicker ( d ) . C }
Tick is a convenience wrapper for NewTicker providing access to the ticking
channel only.
Tick is a convenience wrapper for NewTicker providing access to the ticking channel only .