If the “message” is based on a collection, then it’s quite simple to get the a pub/sub to make the client respond reactively.
The alternative is a “roll-your-own” publication, which does not require a server-side collection at all. Here’s one I prepared earlier: Best Way to handle a 3rd Party endpoint