Possible to set up custom websocket handlers for addons?

Hello! I don’t see anything about this in the documentation, but maybe I missed it.

I would like to set up some websockets and handlers for an addon I am developing. The use case I’m thinking of is, some batch process that updates the db is kicked off from the front end via an xhr call, and then after the process runs on the server, a notification is passed through the websockets, so the user can be shown an indicator that the process completed.

Is it possible to do something like this?

To be honest, it’s really disappointing so many questions just get ignored in these forums. It looks like they haven’t really been given attention for many years now.