I'm trying to perform a asynchronous task that fill an array of object from a REST web service call. I'm wrote that code inside the handle() method inside the Job's class. The controller should be able to at any time retrieve an object from that array. This task is supposed to run continuously so that whenever i want to retrieve an object, my array still contains data. My question is how to make a job that executes permanently and how can i retrieve the data from my controller.
Thanks in advance
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire