The event stream is opened every 5 seconds (or whatever the polling timeout is set to), and only the init_event message is read and parsed before closing the connection.
Best of both worlds, and no need to hack around with Axios π
I did not have to polyfill EventSource, so I guess the service code runs in the browser side, not the Node.js side ? That would be consistent with my debugging experience.
Closes #28.
The event stream is opened every 5 seconds (or whatever the polling timeout is set to), and only the
init_event
message is read and parsed before closing the connection.Best of both worlds, and no need to hack around with Axios π
I did not have to polyfill
EventSource
, so I guess the service code runs in the browser side, not the Node.js side ? That would be consistent with my debugging experience.