UV::Req - An outstanding request in libuv
#!/usr/bin/env perl use strict; use warnings; use UV; my $loop = UV::Loop->default; # A pending getaddrinfo is represented by a UV::Req my $req = $loop->getaddrinfo(node => "localhost", service => "8080"); $req->cancel;
This module provides an interface to libuv's req. Objects in this type are not directly constructed, but are returned by methods that perform some pending action, to represent the outstanding operation before it completes.
UV::Req makes the following methods available.
Stops the pending operation. The exact semantics will depend on the type of operation the request represents.
Paul Evans <email@example.com>
Copyright 2020, Paul Evans.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.