IO::As...p::Mojo(3pm)

πŸ“¦
version 0.07 Β· 5 versions
, in debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– 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 is perl v5.38.2, dated 2024-02-25, and the manual is IO::As...p::Mojo(3pm) πŸ’œ

k byeeee, go write some async Mojolicious code, i'm obsessed πŸ§šπŸ’–βœ¨

πŸ“¦ where this page comes from