Rewrite channels to expose a sender interface
msimberg opened this issue · 2 comments
msimberg commented
Currently the various channel
implementations in pika expose a low level API, similar to lockfree queues, where one can get an item through bool channel(T*)
. A more interesting API would return senders to signal that an item is available from the channel.
For transitioning we could:
- Remove the current implementations and add a senderized version separately (#1209)
Keep the current implenmentations until we have a senderized versionKeep the non-sender version indefinitely