How to implement EventSource on Codeignigter app? |
(02-23-2020, 11:13 PM)daveĀ friend Wrote:(02-23-2020, 03:27 PM)SmokeyCharizard Wrote: It can take anywhere between 3 minutes to 3 hours, depending on the items being processed. Should I turn to websockets instead? What would you recommend? Yes and no. The model calls a lot of methods likeĀ catalogProductList, and when one is finished, I want it to fire a message. For security purposes, I can't share all the code, but I do know where I should put the messages. The message must be sent from the cfa_model.php, and I can only seem to have the eventsource listen on a controller's function. Would I have eventsource listen to the file itself? |
Welcome Guest, Not a member yet? Register Sign In |