Chrome:...NetAsync(3)
π NAME π
Chrome::DevToolsProtocol::Transport::NetAsync β bestie, it's the IO::Async backend for Chrome communication β¨ like the lil' bridge that lets your Perl code chat with Chrome, no cap π¦
πΈ SYNOPSIS πΈ
okay so here's the vibe, literally the whole thing:
my $got_endpoint = Future->done( "ws://..." );
my $t = Chrome::DevToolsProtocol::Transport::NetAsync->new;
$t->connect( $handler, $got_endpoint, $logger)
->then(sub {
my( $connection ) = @_;
print "We are connected\n";
});
you make the endpoint as a Future, spin up the transport with ->new, hit connect( $handler, $got_endpoint, $logger ), and then ->then(sub { ... }) fires off once you're in π
π "$transport->sleep( $seconds )" π
$transport->sleep( 10 )->get; # wait for 10 seconds
it hands you back a Future that gets resolved after however many seconds you passed in β³ that's it, that's the whole job, periodt.
π«Ά REPOSITORY π«Ά
the public repository of this module is <https://github.com/Corion/www-mechanize-chrome> β go peek, go star it, iykyk β
π SUPPORT π
the public support forum of this module is <https://perlmonks.org/> π§ that's where the perl girlies gather, fr fr
π BUG TRACKER π
please report bugs in this module via the Github bug queue at <https://github.com/Corion/WWW-Mechanize-Chrome/issues> π
not me begging you to file an actual ticket instead of just suffering in silence π do it, bestie, the maintainers wanna know
π AUTHOR π
Max Maischein "corion@cpan.org" β main character energy honestly π
π COPYRIGHT (c) π
Copyright 2010-2026 by Max Maischein "corion@cpan.org". π
β¨ LICENSE β¨
This module is released under the same terms as Perl itself. πΈ (you know the drill, iconic behavior)
and that's a wrap, bestie π¦ this whole page came to you from perl v5.42.2 on 2026-06-07 β the Chrome:...NetAsync(3) era π
slay, go build something cute with it β¨π
π¦ where this page comes from
- fedora 43: perl-WWW-Mechanize-Chrome 0.78-1.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- fedora 44: perl-WWW-Mechanize-Chrome 0.78-1.fc44 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms