4 ms·
The producer closes the channel. This is differentiable from an open empty channel in a select.
by dward 9y ago
The producer closes the channel. This is differentiable from an open empty channel in a select.
- asciimoo 9y agoMakes sense, thanks =) In the above example this would require `nil` checking of the retrieved value every time. I'm not sure if it would make the API cleaner