Cantella-Worker
view release on metacpan or search on metacpan
lib/Cantella/Worker/Role/Worker.pm view on Meta::CPAN
=item B<arguments:> none
=item B<return value:> none
=back
Poll for work. If we find work, schedule another poll event due to execute
after the work event. If no jobs are found, schedule the next poll for
C<interval> seconds in the future. This ensures that the worker will always be
busy while there is work, but will control it's polling for work when there
isn't any available.
=head2 _work
=over 4
=item B<handles event:> C<work>
=item B<arguments:> C<$work_info>
( run in 0.267 second using v1.01-cache-2.11-cpan-87723dcf8b7 )