Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Some use cases for tickers require stopping the ticker and restarting it later. This behaviour can be emulated using time.After, but it requires creating new timers each time you want to restart it. I suggest to add the following methods: // NewUnstartedTicker returns a new ticker, but does not start it. func NewUnstartedTicker(d Duration) *Ticker // Start starts stopped or unstarted ticker. func (*Ticker) Start()