I'm trying to create an asynchronous channel and I've been looking at http://golang.org/ref/spec#Making_slices_maps_and_channels.
c := make(chan int, 10) // channel with a buffer size of 10
What does it mean that the buffer size is 10? What specifically does the buffer size represent/limit?
2.1m questions
2.1m answers
60 comments
57.0k users