pika icon indicating copy to clipboard operation
pika copied to clipboard

Rewrite channels to expose a sender interface

Open msimberg opened this issue 8 months ago • 2 comments

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:

  • [x] Remove the current implementations and add a senderized version separately (#1209)
  • ~Keep the current implenmentations until we have a senderized version~
  • ~Keep the non-sender version indefinitely~

msimberg avatar Jun 10 '24 13:06 msimberg