RxJS Observable from server sent event stream
this is not production quality software and is supported only on a best-effort basis through github, use at your own risk
const observableEventSource =const o =consoleo
url:String, required - location of the Server-Sent Events feed
true, event data is parsed as JSON
Returns an instance of
Observable, which has all kinds of features that are beyond the scope of this readme.
data: item is returned as en element of the observable sequence. Event names are ignored in this version.
$ npm install observable-event-source
From package root:
$ npm install $ npm test
ISC. (c) MMXVI jden email@example.com. See LICENSE.md