view
Adds a subscription to changes of the contents of the set.
When handler is initially added, it is called receiving all elements currently in the set. Every time an object is added to the set, the handler is called receiving the new element. The Lifetime instance passed to the handler expires when the element is removed from the set.
The subscription is removed when the given lifetime expires.