News for hackers. Stuff that matters.
Re:Server Sent Events by cassepipe on Tuesday May 16, 2023 @05:52AM (#35959611)
In NestJs it is quite easy to manage in the backend, there's a SSE decorator for you SSE service and then you just return an observable on a subject. (See RxJs) Sending message events sends to all observers on the subject and when the `observed` property` becomes false, you just close the connection.

There are no comments on this comment yet.