Gearman::Taskset - a taskset in Gearman, from the point of view of a Gearman::Client
use Gearman::Client; my $client = Gearman::Client->new; # waiting on a set of tasks in parallel my $ts = $client->new_task_set; $ts->add_task( "add" => "1+2", {...}); $ts->wait();
Gearman::Taskset is a Gearman::Client's representation of tasks queue
run a hook callback if defined
add a hook
return Gearman::Client
Close sockets, cleanup internals.
event loop for reading in replies
$opts_hr see Gearman::Task
$opts_hr
To install Gearman::Job, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Gearman::Job
CPAN shell
perl -MCPAN -e shell install Gearman::Job
For more information on module installation, please visit the detailed CPAN module installation guide.