EventSource : EventTarget
EventSource allows listening to events pushed from the server. Similar to a WebSocket except it is a one way connection.
Instance Properties
readyState : Number
The current connection state. Will be one of CONNECTING, OPEN, or CLOSED.
Example:
RunResults:
Copyright © JavaScripture Contributors