Re: [go-nuts] Re: dynamic frequency ticker

2016-09-01 Thread seb . stark
This works great, thank you! And with minimal changes to my existing code (that's why I didn't like so much the other proposals that use time.After or time.Timer, but thanks anyway!). Am Mittwoch, 31. August 2016 16:06:58 UTC+2 schrieb Marvin Renich: > > > Does this do what you want? > > https

Re: [go-nuts] Re: dynamic frequency ticker

2016-08-31 Thread Marvin Renich
> > On Tuesday, August 30, 2016 at 8:46:23 PM UTC+3, seb@gmail.com wrote: > >> > >> In my application I select on a ticker channel, but sometimes need to > >> have the waiting time vary a bit. For not so frequent changes I could make > >> a new ticker everytime, but I have the feeling this is

[go-nuts] Re: dynamic frequency ticker

2016-08-31 Thread yann . briffa
Hi there, maybe you should take a look on this one : https://play.golang.org/p/SpTNuGG-ni On Wednesday, August 31, 2016 at 8:25:21 AM UTC+2, dja...@gmail.com wrote: > > https://play.golang.org/p/FMs01ACKJv ? > > Djadala > > On Tuesday, August 30, 2016 at 8:46:23 PM UTC+3, seb@gmail.com wrote

[go-nuts] Re: dynamic frequency ticker

2016-08-30 Thread djadala
https://play.golang.org/p/FMs01ACKJv ? Djadala On Tuesday, August 30, 2016 at 8:46:23 PM UTC+3, seb@gmail.com wrote: > > In my application I select on a ticker channel, but sometimes need to have > the waiting time vary a bit. For not so frequent changes I could make a new > ticker everyti