Am Freitag, 14. Oktober 2016 01:06:57 UTC+2 schrieb Steve Barnsley: > > I tried 'wrapping' the list of calls to the various templates in a > $c->delay(@list); structure, this causes the first template (table) to > execute in its entirety but it never starts the second entry in the list > (even though I see the result from the very last statement in the sub in > $list[0].) Is there some magic that I need to invoke to make delay start > the next item in the list? >
Without any deeper knowledge of your code that´s a tough question. @list is a list of subroutine references, right? You do call $delay->begin in every callback in that list, don´t you? Otherwise, like https://metacpan.org/pod/Mojo::IOLoop::Delay#steps says: "This chain will continue until ... a callback does not increment the event counter ..." -- 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 https://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
