DNS::Un...:IOAsync(3)
okay bestie, welcome to the DNS::Un...:IOAsync(3) page from the User Contributed Perl Documentation π this oneβs short, sweet, and very βnew loop who dis.β
π NAME π
DNS::Unbound::IOAsync β DNS::Unbound for IO::Async β¨
π¦ SYNOPSIS π¦
my $loop = IO::Async::Loop->new();
my $unbound = DNS::Unbound::IOAsync->new($loop);
$unbound->resolve_async("perl.org", "A")->then(
sub {
my $result = shift;
# ...
}
)->finally( sub { $loop->stop() } );
$loop->run();
πΈ DESCRIPTION πΈ
This class is literally here to give DNS::Unbound native IO::Async compatibility, periodt π₯
Heads up though, bestie: this classβs new() requires an IO::Async::Loop instance to be passed in. No loop, no vibe check. The SYNOPSIS above shows the whole setup, so peek at that if you need the exact move π
mwah π β this iconic little page is perl v5.42.2, dated 2026-02-15, and it belongs to DNS::Un...:IOAsync(3). slay π«Άβ¨
π¦ where this page comes from
- alpine 3.24: perl-dns-unbound-doc 0.29-r3 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms