The title of the post says it all, I think. According to the docs, when you call this.added(), you are notifying the client that a document has been added to the collection:
Call inside the publish function. Informs the subscriber that a document has been added to the record set.
But how do you respond to that message on the client? The only callbacks that I’ve seen for subscribe() are onReady and onStop. Is there a way to register a callback inside of subscribe that will handle that this.added() call? Or is there another method for handling this.added() on the client?