Closed iSapozhnik closed 4 years ago
Hi @iSapozhnik! I think this is a great addition to the library.
It would be great to be able to use the new diffing stuff, but as you mentioned it's only available for the latest OSes and I would like to keep this compatible with the previous ones, so having two separate closures for add/remove is a good way to do it right now.
Thank you
Hey Guilherme and thanks for a great and easy to use wrapper! For my project I wanted to be notified only when peers were added or removed without keeping reference to the actual peers array. So I've added few more closures just for this purpose. If you think it might be useful feel free to review otherwise just close it. :)
Actually ideal would be
CollectionDifference
solution here but it's available only in latests OS :(