fn put(self: *SelfChannel, data: T) void
[src]
puts a data item in the channel. The function returns when the value has been added to the buffer, or in the case of a zero size buffer, when the item has been retrieved by a getter. Or when the channel is destroyed.