<div dir="ltr">Also, I'm using version:<br>Dancer2-0.163000<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 17, 2015 at 11:39 AM, David H <span dir="ltr"><<a href="mailto:untg99@gmail.com" target="_blank">untg99@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Thanks, I tried that with this sample code.<br><br>get '/TestingAssync' => sub {<br> delayed {<br> add_header 'X-Foo' => 'Bar';<br> flush;<br> content 'Hello, world';<br> done;<br> };<br>};<br>And I got this error:<br><br>String found where operator expected near "add_header 'X-Foo'"<br> (Do you need to predeclare add_header?)<br><br>?<br><br></div><div><br><br><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 17, 2015 at 10:53 AM, Warren Young <span dir="ltr"><<a href="mailto:wyml@etr-usa.com" target="_blank">wyml@etr-usa.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Nov 16, 2015, at 5:05 PM, David H <<a href="mailto:untg99@gmail.com" target="_blank">untg99@gmail.com</a>> wrote:<br>
><br>
> I'm looking for some advice/pointers on having stuff non-block in my code.<br>
<br>
</span><a href="https://metacpan.org/pod/distribution/Dancer2/lib/Dancer2/Manual.pod#Delayed-responses-Async-Streaming" rel="noreferrer" target="_blank">https://metacpan.org/pod/distribution/Dancer2/lib/Dancer2/Manual.pod#Delayed-responses-Async-Streaming</a><br>
_______________________________________________<br>
dancer-users mailing list<br>
<a href="mailto:dancer-users@dancer.pm" target="_blank">dancer-users@dancer.pm</a><br>
<a href="http://lists.preshweb.co.uk/mailman/listinfo/dancer-users" rel="noreferrer" target="_blank">http://lists.preshweb.co.uk/mailman/listinfo/dancer-users</a><br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>