Comment Comment by sysid For starlette/fastapi there is a battle tested lib: https://github.com/sysid/sse-starlette parent sysid 4 years ago