DNS::Un...:IOAsync(3)

πŸ“¦ version 0.29, in alpine 3.24

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