I thought this might have been a wishlist item, but I might have thought
wrong. Creating a new thread for the purpose of this message. Sorry for
the double-post. :(
Is there a way for Mojo::IOLoop->recurring($interval => sub { ... }); to
run NOW as well as every $interval seconds? If not, does it make sense to
build in an option that would allow it to work like that?
What's the way that people are doing that now?
my $sub = sub { ... };
Mojo::IOLoop->timer(0 => \&sub);
Mojo::IOLoop->recurring($interval => \&sub);
Is there a more concise means to accomplishing that? If not, could there
be?
--
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.