It sounds like NewTicker will dynamically adjust to keep tick time 
"accurate".

Does anyone know if the time data that NewTicker returns (i.e. via it's 
channel, etc...) includes monotonic time?
And if so is the definition of NewTicker referring to adjusting real time 
clock or monotonic clock?

I'm not really sure what to expect with using ticker in terms of timing 
accuracy.
Is NewTicker() monotonic?

Also not quite sure what "Stop the ticker to release associated resources" 
refers to.

time.NewTicker()

"NewTicker returns a new Ticker containing a channel that will send the 
time with a period specified by the duration argument. It adjusts the 
intervals or drops ticks to make up for slow receivers. The duration d must 
be greater than zero; if not, NewTicker will panic. Stop the ticker to 
release associated resources."

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/ec9cf4f2-5404-4512-9b57-b4816ea47adeo%40googlegroups.com.

Reply via email to