AnyEvent-RabbitMQ-RPC
view release on metacpan or search on metacpan
lib/AnyEvent/RabbitMQ/RPC.pm view on Meta::CPAN
A callback C<on_failure> may optionally be passed, which will be called
with an error message if suitable channels cannoot be configured on the
RabbitMQ server.
=head2 call name => C<STRING>, args => C<VALUE>
Submits a job to the job queue. The C<VALUE> provided must be a string,
unless C<serialize> was passed to L</new>.
Three callbacks exist:
=over
=item on_reply
Called when the job has been completed successfully, and will be passed
the return value of the job. Returning non-string values requires that
both worker and client have been created with the same (non-empty) value
of C<serialize> passed to L</new>.
( run in 0.637 second using v1.01-cache-2.11-cpan-9b1e4054eb1 )