Making Ajax Calls With an Observable
Learn how to retrieve data through an HTTP request using Observers.
We'll cover the following...
We'll cover the following...
We haven’t done anything useful with Observables yet. How about we create an Observable that retrieves remote content? To do this, we’ll wrap the XMLHttpRequest object using Rx.Observable.create:
In the preceding code, the get function uses the ...