Create a Server Sent Event endpoint or a websocket endpoint to allow consumer to display live informations.
Such endpoint could be sent as response href/location header (X-Sablier-SSE-url, etc.) to fetch the events related to the initial query.
Plugins could then call this once and then just receive live update. And this connection would keep the session up all the time.
Create a Server Sent Event endpoint or a websocket endpoint to allow consumer to display live informations.
Such endpoint could be sent as response href/location header (X-Sablier-SSE-url, etc.) to fetch the events related to the initial query.
Plugins could then call this once and then just receive live update. And this connection would keep the session up all the time.