NAME

Gearman::WorkerSpawner::BaseWorker::Client - Gearman::Client wrapper for use with Gearman::WorkerSpawner::BaseWorker workers

SYNOPSIS

my $client = Gearman::WorkerSpawner::BaseWorker::Client->new;
$client->job_servers('127.0.0.1');
my @retvals = $client->run_method(adder => { right_hand => 3 });

DESCRIPTION

This class implements the run_method function from Gearman::WorkerSpawner in the synchronous Gearman::Client client. Instead of calling an on_complete callback, the return value of the job is returned.