If I understand correctly, this approach will subscibe to items already existing in the backend. But what if the backend changes?

To elaborate: I am monitoring a phone queue. The queue can be empty or there can be multiple items in it. When the queue is empty, the frontend should not show any items. When there is a queue waiting, it should show all the items in the queue. As the queue can grow infinately (theoretically), I am not able to predict how many items I should subscribe to.

Is there any way to get extended information over the open connection, like how many items there are in the queue, so the table can grow to that size?

Thanks again!
Kind regards,
Erik.