Pauan / rust-signals

Zero-cost functional reactive Signals for Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clone impl for Broadcaster

simon-bourne opened this issue · comments

Is there any reason why Clone isn't implemented for Broadcaster?

commented

I don't think there's any particular reason, it just hasn't been done yet.

Great, it looked like it'd be easy to add as it's just an Arc inside, and the implementations of Broadcaster::signal* looked like they'd work on a clone of the Arc, but wanted to check. Would you take a pull request?

commented

Thanks for the offer, but I already implemented it, it'll be in the next release.

Even better, thanks!

commented

This was released in version 0.3.25