Can the Mojolicious work asynchronously when it deploy with Plack?

I attempt to run such application

#!/usr/bin/perl


use strict;
use warnings FATAL => 'all';


use v5.10;


use Mojolicious::Lite;


get '/' => sub {
  my $c = shift->render_later;
  $c->ua->get('http://google.com' => sub {
    $c->render(text => 'Ok');
  });
};


app->start;


with such command *plackup 1.pl*

-- 
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