Throttling Go routines
Source: https://stackoverflow.com/questions/15715605/multiple-goroutines-listening-on-one-channel#15721380 Yes, it’s complicated, But there are a couple of rules of thumb that should make things feel much more straightforward. prefer using formal arguments for the channels you…