One more thing, if you want the wait condition to be grouped in a select{} 
use the .Channel() method to get the channel. The Wait helper method does 
this with a timeout, as an example. After the signal the channel is dead so 
you have to use Channel() again to get the new one. If you're using it as 
say a global heartbeat, so you don't run so many timers.

I primarily use it as Kill conditions and heartbeats.

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to