AnyEvent-RabbitMQ-Fork
view release on metacpan or search on metacpan
lib/AnyEvent/RabbitMQ/Fork.pm view on Meta::CPAN
on_destroy => sub { $wself && $wself->_on_destroy(@_) },
init => $self->init_function,
# TODO look into
#done => '',
);
}
=head1 DESCRIPTION
This module is mean't to be a close to a drop-in facade for running
L<AnyEvent::RabbitMQ> in a background process via L<AnyEvent::Fork::RPC>.
Tha main use case is for programs where other operations block with little
control due to difficulty/laziness. In this way, the process hosting the
connection RabbitMQ is doing nothing else but processing messages.
=cut
my $cb_id = 'a'; # textual ++ gives a bigger space than numerical ++
sub _delegate {
( run in 2.341 seconds using v1.01-cache-2.11-cpan-0d23b851a93 )