UV/Callback/Poll.pm untested

filter: Statementstmt n/a Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a SCAR -
1 package SPVM::UV::Callback::Poll;
2  
3  
4  
5 1;
6  
7 =encoding utf8
8  
9 =head1 Name
10  
11 SPVM::UV::Callback::Poll - Callback for Poll Handle
12  
13 =head1 Description
14  
15 C<UV::Callback::Poll> in L<SPVM> is the interface for the callback passed to L<uv_poll_start|https://docs.libuv.org/en/v1.x/poll.html#c.uv_poll_start>.
16  
17 =head1 Usage
18  
19 use UV::Callback::Poll;
20  
21 =head1 Interface Methods
22  
23 =head2 Anonymous method
24  
25 C<required method : void ($uv_poll : L<UV::Handle::Poll|SPVM::UV::Handle::Poll>, $status : int, $events : int);>
26  
27 The callback method called when the poll handle detects events or an error occurs.
28  
29 See L<UV::Handle::Poll#start|SPVM::UV::Handle::Poll/"start"> method for usage.
30  
31 =head1 Copyright & License
32  
33 Copyright (c) 2026 Yuki Kimoto
34  
35 MIT License