You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it would be nice to have a clear separation of the different kind of channels. I assume the one currently implemented is mpmc because both the sender and the receiver implements Clone. (Would there be a speed improvement to also implement mpsc?)
I would be really interested to see an implementation for a broadcast type of channel. You send the message once, the message needs to implement Clone, and all the receivers receive a copy of it. Like it is done by the crate async-broadcast.
The text was updated successfully, but these errors were encountered:
Thank you!
Yes, maybe for 0.2 and not as a default feature in my opinion currently I'm trying not to add any new features until our code is audited completely.
Kanal community can discuss implementation and requirements until then here.
Broadcast channel disallows some optimizations like in-stack-transfer, which is the shining point of this extremely fast crate. If so, why not just use an existing crate async-broadcast
I think we can do the same optimization using the signal for broadcast too. but I'm unsure to add broadcast type to Kanal. in one hand I like Kanal to be complete and featureful but in case maintaining both normal and broadcast channels together proves to be counter-productive for us. I prefer to keep Kanal away from the broadcast channels.
We wait and see what happens after 0.1.0 release.
Nice work!!
I think it would be nice to have a clear separation of the different kind of channels. I assume the one currently implemented is mpmc because both the sender and the receiver implements
Clone
. (Would there be a speed improvement to also implement mpsc?)I would be really interested to see an implementation for a broadcast type of channel. You send the message once, the message needs to implement
Clone
, and all the receivers receive a copy of it. Like it is done by the crate async-broadcast.The text was updated successfully, but these errors were encountered: