Combine channels/ports. Allow multiple receivers #2158
Labels
A-runtime
Area: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
Channels could combine the properties of channels and ports, be sendable types and allow multiple senders and receivers.
@pcwalton has suggested that this is what go does and it would seem to make channels more usable.
Likely requires copy constructors and a type that is both sendable and has destructors.
This is possibly at odds with #2157.
The text was updated successfully, but these errors were encountered: