I'm not sure how to implement and use the Done function and its returned 
channel for contexts.
https://golang.org/pkg/context/#Context

The comments say to refer to https://blog.golang.org/pipelines, but I 
didn't see any example there.

Can you provide an example of how to implement a context that supports 
cancellation with Done?



-- 
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