On 01/27/2015 05:23 AM, sri wrote:

For most backends it would have to be done with a recurring timer trying to pull the result in regular intervals anyway. Which you can of course implement yourself as a helper in just a few lines too.


Maybe I did this in an especially ugly way. With Websockets I want real time updates to client:

https://github.com/john-/rtl_fm-scanner/blob/audio_manager/bin/rtl_fm-scanner#L180

Ideally it would be nice for the route to receive a message when something interesting happens (determined by logic associated with the long running process).

John

--
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to