What the difference between `onmessage` and `.addEventListener`?
source.onmessage is the built in function wrapper for EventSource that is triggered when new data is sent to the client. It fires when no event attribute is returned (default) and doesn’t fire when it is set. addEventListener is similar, but differs in that it listens for a specific event name, and triggers on its presence, … Read more