[AngularJS] Re: Best Practice for REST API calls that take an extraordinarily long time?

2017-04-19 Thread Zlatko Đurić
On Wednesday, April 19, 2017 at 3:25:03 AM UTC+2, rob...@leapyear.io wrote: > > Imagine you have an Angular 2 app that makes calls to a REST API with > Observables. Further imagine that the response time of these calls will > take many tens of minutes or even hours to return a response. > >

[AngularJS] Re: Best Practice for REST API calls that take an extraordinarily long time?

2017-04-18 Thread Sander Elias
Hi Robert, Well, I imagine a server side solution. Because you can't really do anything on a computer that's sleeping/off. Also, I imagine that the user has to re-authenticate themselves after powering up their computer again! If a server takes this long to compute/gather an answer to a