jonhoo / bus

Efficient, lock-free, bounded Rust broadcast channel
Apache License 2.0
781 stars 38 forks source link

Dynamic number readers? #19

Open serzhiio opened 5 years ago

serzhiio commented 5 years ago

Is it possible to clone BusReader dynamically? I have dynamic readers inside tokio pool.

jonhoo commented 5 years ago

That's not currently possible because the writer needs to know how many readers there are. It is possible to add more readers at runtime using add_rx on the Bus though!