Firstly I'm totally new to SailsJs. I've been asked to learn it and make some demo app. One of them is simply a loop in a controller and output each results in the view while the controller is still working. However it doesn't seem simple as that. After some research I found the async lib but I can't use it since we're using an older version of node and dependencies doesn't met and I can't use any other node version for some reason. So is there any way to do this without using any other lib? Maybe I should use sockets for this?
Aucun commentaire:
Enregistrer un commentaire