Code review comment for ~sbaldassin/bileto:ust-bileto

Revision history for this message
Santiago Baldassin (sbaldassin) wrote :

Good point Robert! There's no need to poll for results when the user is editing the form. Instead of using an independent script to get the results, I'd like to suggest doing it with an ajax call in the app.js which will be triggered every 2 minutes. That way users will have to wait only 2 minutes in the worst case scenario and we'll be using a non blocking asynchronous method. As long as we update the scope in the callback, angular will take care of reflecting that in the ui

« Back to merge proposal