NAME

Net::Async::Gearman::Client - concrete Gearman client over an IO::Async::Stream

SYNOPSIS

use IO::Async::Loop;
use Net::Async::Gearman::Client;

my $loop = IO::Async::Loop->new;

my $client = Net::Async::Gearman::Client->new;
$loop->add( $client );

await $client->connect(
   host => $SERVER,
);

my $total = await $client->submit_job(
   func => "sum",
   arg  => "10,20,30",
);

say $total;

DESCRIPTION

This module combines the abstract Protocol::Gearman::Client with Net::Async::Gearman to provide an asynchronous concrete Gearman client implementation.

It provides no new methods of its own; all of the Gearman functionality comes from Protocol::Gearman::Client. See that module's documentation for more information.

AUTHOR

Paul Evans <leonerd@leonerd.org.uk>