Chrome:...NetAsync(3)

πŸ“¦
version 0.78 Β· 3 versions
, in fedora 43, fedora 44

πŸ’– 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 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