Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/grinnz/poe-loop-mojo_ioloop

POE::Loop::Mojo_IOLoop - a bridge that allows POE to be driven by Mojo::IOLoop
https://github.com/grinnz/poe-loop-mojo_ioloop

Last synced: 5 days ago
JSON representation

POE::Loop::Mojo_IOLoop - a bridge that allows POE to be driven by Mojo::IOLoop

Awesome Lists containing this project

README

        

=pod

=for poe_tests
BEGIN { $ENV{POE_EVENT_LOOP} = 'POE::Loop::Mojo_IOLoop' }
BEGIN { $ENV{MOJO_REACTOR} ||= 'Mojo::Reactor::Poll' }
BEGIN { $ENV{POE_LOOP_USES_POLL} = 1 }
use Mojo::IOLoop;
sub skip_tests {
if ($_[0] eq '00_info') {
my $reactor = Mojo::IOLoop->singleton->reactor;
diag("Using reactor $reactor");
}
return undef;
}

=head1 NAME

POE::Loop::Mojo_IOLoop - a bridge that allows POE to be driven by Mojo::IOLoop

=head1 SYNOPSIS

See L.

use POE qw(Loop::Mojo_IOLoop);

use POE::Kernel { loop => 'Mojo::IOLoop' };

BEGIN { $ENV{POE_EVENT_LOOP} = 'POE::Loop::Mojo_IOLoop' }
use POE;

=head1 DESCRIPTION

L implements the interface documented in L.
Therefore it has no documentation of its own. Please see L for more
details.

When using L with L, the loop must be set explicitly or
L will detect multiple event loops and fail. You can set the event loop
by setting the environment variable C to
C before L is loaded, or by including it in the
C directive when initially loading L. See
L for more information.

=head1 BUGS

Report any issues on the public bugtracker.

=head1 AUTHOR

Dan Book, C

=head1 COPYRIGHT AND LICENSE

Copyright 2015, Dan Book.

This library is free software; you may redistribute it and/or modify it under
the terms of the Artistic License version 2.0.

=head1 SEE ALSO

L, L, L, L

=cut