How to use HTML5 Server-Sent Events (SSE)

This is the first time I’ve heard of SSE (yes, my bad) but a first thought would be that if you don’t get a satisfying answer in the time you need, couldn’t the same thing be achieved by calling an Ajax function scheduled through setInterval()?

Maybe this helps, I just wanted to offer this suggestion.