| 1 |
NAME |
| 2 |
|
| 3 |
IO::Async::Loop::Mojo - use IO::Async with Mojolicious |
| 4 |
|
| 5 |
SYNOPSIS |
| 6 |
|
| 7 |
use IO::Async::Loop::Mojo; |
| 8 |
|
| 9 |
my $loop = IO::Async::Loop::Mojo->new(); |
| 10 |
|
| 11 |
$loop->add( ... ); |
| 12 |
|
| 13 |
... |
| 14 |
# Rest of Mojolicious code here |
| 15 |
|
| 16 |
DESCRIPTION |
| 17 |
|
| 18 |
This subclass of IO::Async::Loop uses Mojo::Reactor to perform its IO |
| 19 |
operations. It allows the use of IO::Async-based code or modules from |
| 20 |
within a Mojolicious application. |
| 21 |
|
| 22 |
CONSTRUCTOR |
| 23 |
|
| 24 |
new |
| 25 |
|
| 26 |
$loop = IO::Async::Loop::Mojo->new() |
| 27 |
|
| 28 |
This function returns a new instance of a IO::Async::Loop::Mojo object. |
| 29 |
It takes no special arguments. |
| 30 |
|
| 31 |
METHODS |
| 32 |
|
| 33 |
There are no special methods in this subclass, other than those |
| 34 |
provided by the IO::Async::Loop base class. |
| 35 |
|
| 36 |
AUTHOR |
| 37 |
|
| 38 |
Paul Evans <[email protected]> |
| 39 |
|