I'm trying to do something similar to this question. Basically, I want to have the html page being updated once new information arrives at the server. The information won't come periodically, but rather in bursts. Is there a way for me to trigger the javascript/htmx function via django or is it that I have to do the per-X-seconds check on the browser side?
All solutions that I've found are using the periodic check in a script which appears a bit surprising to me.