IO::Async::Loop::POE - use IO::Async with POE
IO::Async::Loop::POE
IO::Async
POE
use IO::Async::Loop::POE; my $loop = IO::Async::Loop::POE->new(); $loop->add( ... ); $loop->add( IO::Async::Signal->new( name => 'HUP', on_receipt => sub { ... }, ) ); $loop->loop_forever();
This subclass of IO::Async::Loop uses POE to perform its work.
The entire IO::Async system is represented by a single long-lived session within the POE core. It fully supports sharing the process space with POE; such resources as signals are properly shared between both event systems.
This function returns a new instance of a IO::Async::Loop::POE object. It takes the following named arguments:
Paul Evans <leonerd@leonerd.org.uk>
To install IO::Async::Loop::POE, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IO::Async::Loop::POE
CPAN shell
perl -MCPAN -e shell install IO::Async::Loop::POE
For more information on module installation, please visit the detailed CPAN module installation guide.