mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 16:44:39 +00:00
While SSE promises to be properly multiplexed over HTTP/2, it seems browsers still hit a hard limit when opening >6 connections. Since the streams are not critical, it's fine to abstract the eventsource logic to the base widget class where it manages open/closing connections based on tab visiblity. If we need more than 6 parallel streams, we need to revamp the logic to multiplex multiple event types in the backend ourselves, but this is not necessary for now.