Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/grinnz/poe-loop-mojo_ioloop
- Owner: Grinnz
- License: other
- Created: 2015-01-03T23:49:33.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2018-09-12T22:09:15.000Z (over 6 years ago)
- Last Synced: 2024-11-13T05:19:53.922Z (about 2 months ago)
- Language: Perl
- Homepage: https://metacpan.org/pod/POE::Loop::Mojo_IOLoop
- Size: 34.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.pod
- Changelog: Changes
- Contributing: CONTRIBUTING.md
- License: LICENSE
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