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

    I'm more or less exploring the possibilities of Minion. If it were
    possible to get async notifications back, this would be a
    magnificent way to bridge the sync and async worlds!


It used to be supported in the beginning, but didn't fit in very well.

  
https://github.com/kraih/minion/commit/2399f7b94be5a2e611b17df2c6b8e3b5eba040cb#diff-b30d9d6fe78ad2d38daed2446ba66d92L321

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.


The first two mojolicious applications I have written now have the same pattern: Web Socket client that should get instant notification when something managed by that same application generates events of interest to the client.

It would seem some kind of publish/subscribe type thing would be used here. Can a "third party" module be grafted in or is there some fundamental reason why these kinds of applications aren't cleanly implemented?

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