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?
1.4m articles
1.4m replys
5 comments
57.0k users