var result = Rx.Observable.fromPromise(fetch('http://myserver.com/')); result.subscribe(x => console.log(x), e => console.error(e));