Paul Evans > IO-Async-Loop-Mojo > IO::Async::Loop::Mojo

Download:
IO-Async-Loop-Mojo-0.05.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.05   Source  

NAME ^

IO::Async::Loop::Mojo - use IO::Async with Mojolicious

SYNOPSIS ^

 use IO::Async::Loop::Mojo;

 my $loop = IO::Async::Loop::Mojo->new();

 $loop->add( ... );

 ...
 # Rest of Mojolicious code here

DESCRIPTION ^

This subclass of IO::Async::Loop uses Mojo::Reactor to perform its IO operations. It allows the use of IO::Async-based code or modules from within a Mojolicious application.

CONSTRUCTOR ^

$loop = IO::Async::Loop::Mojo->new()

This function returns a new instance of a IO::Async::Loop::Mojo object. It takes no special arguments.

METHODS ^

There are no special methods in this subclass, other than those provided by the IO::Async::Loop base class.

AUTHOR ^

Paul Evans <leonerd@leonerd.org.uk>

syntax highlighting: