imaging
imaging copied to clipboard
Use unbuffered chan in parallel func for processesing the data
Channels should usually have a size of one or be unbuffered. It prevents the channel from filling up under load. Refer https://github.com/uber-go/guide/blob/master/style.md#channel-size-is-one-or-none for more details.