Server-Sent Events API which also supports legacy addEventStream