Takes EventSource and creates an observable from it.
Deprecated
Use fromEventSource from rx-event-source package instead.
Example
constsse = newEventSource(url, configuration); returnfromEventSource(sse).pipe( finalize(() => { // Make sure the EventSource is closed once not needed. sse.close(); }), );
Takes EventSource and creates an observable from it.
Deprecated
Use
fromEventSource
fromrx-event-source
package instead.Example