Wednesday, 2 October 2013

Can you make Golang drop packets on writes rather than block?

Can you make Golang drop packets on writes rather than block?

Given a channel of length N, I want to write to it only if it is not full.
Else I will drop this packet and process the next one.
Is this possible in GOlang

No comments:

Post a Comment