How to detect client disconnects on StreamingHttpResponse (Server Side Events) using Django/Django-Ninja?
We want to add Server Side Events in our application, but currently the while True loop runs indefinitely and client disconnect is not causing the task to stop.