Of course we would all like to see the continuation style, but in the 
meantime, have you investigated Mojo::IOLoop::Delay. It does help in 
detangling the callback mess. I have written some blog posts about it (and 
have been meaning to post a few more, bad Joel!) 
at 
http://blogs.perl.org/users/joel_berger/2013/10/writing-non-blocking-applications-with-mojolicious-part-1.html
 
and 
http://blogs.perl.org/users/joel_berger/2013/11/writing-non-blocking-applications-with-mojolicious-part-2.html

On Thursday, January 2, 2014 9:24:01 AM UTC-6, sri wrote:
>
> It's also a major rewrite because blocking style does not easily lend 
>> itself to this.
>>
>
> Personally, i would like to explore coroutine/generator based APIs more, 
> but that's not really an option for anything serious as long as Coro is the 
> only game in town.
>
>     https://gist.github.com/kraih/6082061
>
> --
> sebastian
>

-- 
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/groups/opt_out.

Reply via email to