File: README

package info (click to toggle)
libio-async-loop-mojo-perl 0.07-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 132 kB
  • sloc: perl: 181; makefile: 2
file content (39 lines) | stat: -rw-r--r-- 801 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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

 new

       $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>