Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

8
  • Check the time taken to get response from server Commented Dec 20, 2017 at 4:32
  • @DeepakKumarTP this is what I see on server. It seems to be 27 seconds. GET /employees 200 27264.078 ms - - Commented Dec 20, 2017 at 4:36
  • Then the server is taking 30 seconds to get the response so nothing to do with angular observable. Check why server is taking 30 seconds to get response back Commented Dec 20, 2017 at 4:38
  • @DeepakKumarTP Okay I will check the server but could you also take time to answer about how can I achieve the behaviour that I asked in the question ? What is the point of returning Observable instead of the data itself ? Because of observable I have one extra step to use async pipe or to subscribe it to unroll the data from it. Commented Dec 20, 2017 at 4:40
  • Which back end technology are you using? Commented Dec 20, 2017 at 4:41