IO::As...p::Mojo(3pm)
π IO::As...p::Mojo(3pm) π
okay bestie, so this is the manual page for IO::As...p::Mojo(3pm), straight out of the User Contributed Perl Documentation. she's a lil Perl module and she's here to make your life cute. let's get into it π«Ά
β¨ NAME β¨
"IO::Async::Loop::Mojo" β use "IO::Async" with "Mojolicious" π
like. that's the whole pitch. two iconic worlds, one loop, no drama.
β¨ SYNOPSIS β¨
use IO::Async::Loop::Mojo;
my $loop = IO::Async::Loop::Mojo->new();
$loop->add( ... );
...
# Rest of Mojolicious code here
see how she just... slots in?? $loop->add( ... ); and then it's just vibes. drop the rest of your Mojolicious code right there and nobody's mad πΈ
β¨ DESCRIPTION β¨
so this is a subclass of IO::Async::Loop, right, and she uses Mojo::Reactor to do all her IO operations. like she's out here handling the actual IO business but wearing a Mojolicious outfit π
the whole point? it lets you use IO::Async-based code β or whole IO::Async-based modules β from inside a Mojolicious application. no cap. your async code can just live in there. π¦
β¨ CONSTRUCTOR β¨
β¨ new β¨
$loop = IO::Async::Loop::Mojo->new()
this function returns a new instance of an "IO::Async::Loop::Mojo" object π
and here's the best part: it takes no special arguments. none. zero. it's giving low-maintenance queen. just call new() and go π
β¨ METHODS β¨
okay so listen β there are no special methods in this subclass. literally none. anything else she has comes from the "IO::Async::Loop" base class, where she inherited it, periodt π
so if you're looking for extra methods here, bestie, there aren't any. go ask her parent. π
β¨ AUTHOR β¨
Paul Evans <leonerd@leonerd.org.uk> π
okay that's the whole page, and it's literally perfect, no notes π
quick vibe check on the fine print: this page isperl v5.38.2, dated2024-02-25, and the manual isIO::As...p::Mojo(3pm)π
k byeeee, go write some async Mojolicious code, i'm obsessed π§πβ¨
π¦ where this page comes from
- debian trixie: libio-async-loop-mojo-perl 0.07-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libio-async-loop-mojo-perl 0.07-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libio-async-loop-mojo-perl 0.07-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libio-async-loop-mojo-perl 0.07-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms