1 min readApr 23, 2020
time.Sleep
blocks the goroutine and so does the fmt.Println
at times. Hence there is no clear way to debug this. I probably should have mentioned in the article that buffered channels are not always guaranteed to deliver all the send operations. Check this article -> https://www.ardanlabs.com/blog/2017/10/the-behavior-of-channels.html