💥 Angular RxJs Observables Tutorial - Do multiple HTTP requests using the RxJs Concat Operator

preview_player
Показать описание

Sequential requests to the server by using the RxJs Concat operator. This is another example of how from the point of view of the Angular HTTP module network requests are really just Observables that can be easily combined using the many RxJs operators available.

We are going to implement the following concrete example: do a delete on the server, then a second delete and finally reload the new list from the server and display it on the screen.

Follow us:

Рекомендации по теме
Комментарии
Автор

Hi, I have one question. I have a few observables and result from first observable is input to second and so on. What is the best way for this?

mg
Автор

Hi Vasco,
Great videos.
I have 2 questions
1- Is RxJs concat() method can accept arrays if we want to create Observables programmatically and concat them?
2- Is lesson-list a directive you create which is accept a observable and render it with result?

And a suggestion, if you show to us the wrong way and get an unwanted situation it could be helpful such as if we don't use .cache() what would happen? and what cache really does.

Thanks.

mustafasamedkasal
Автор

Hi Vasco,
This is the great tutorial and can you please create a tutorial for difference between rxjs operators forkjoin vs concat vs flatmap operators.

itsyouandwee
Автор

Hi Vasco,
first off very good tutorial series :)
I'm sorry to bother you but what's
this.lessonsService.delete(1)
?
Where is it come from ?
I know delete operator but not
the delete method and I dont see
any delete from rxjs doc.
Thanks in advance

fabiobedini
visit shbcf.ru