Open bruceauyeung opened 1 week ago
because the dim of the three values is not atomic
because the dim of the three values is not atomic
Alright then. But at last, if chan is consumed out and no more values pushed in, Len() will be 0, right?
because the dim of the three values is not atomic
Alright then. But at last, if chan is consumed out and no more values pushed in, Len() will be 0, right?
yes
And if i wanna check whether this chan is empty or not, how should i do ?