Saturday, 23 November 2019

Dealing with multiple observers at one time in angular

I am new to angular and I am developing project that does the following: 1- Read file and save the data in the array. 2- For each element in the array, it will connect to the database and check the information of these elements. 3- For those elements who exists in the database, their information will be written to file.

As indicated above, I have three async calls for which I need to use observers. Problem is that I do not know how to data from one observer to another and how to handle this problem. I tried to use callback but it returns that it creates more problems for multiple calls and multiple returns. Can anyone let me know how to handle such case?!



from Dealing with multiple observers at one time in angular

No comments:

Post a Comment