IO::Async::Loop::Mojo(3pm)

IO::Async::Loop::Mojo3pm

Use "io::async" with "mojolicious"

Usage

   use IO::Async::Loop::Mojo;
   my $loop = IO::Async::Loop::Mojo->new();
   $loop->add( ... );
   ...
   # Rest of Mojolicious code here

Overview

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.

Releases

5 releases since Debian 9 (Stretch); the text changed 2 times.

  1. 9–10
  2. 11–12
  3. 13

Author

Paul Evans <[email protected]>

From libio-async-loop-mojo-perl 0.07-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.