UV/Callback/Signal.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::Signal;
2  
3 1;
4  
5 =encoding utf8
6  
7 =head1 Name
8  
9 SPVM::UV::Callback::Signal - Callback for Signal Handle
10  
11 =head1 Description
12  
13 C<UV::Callback::Signal> in L<SPVM> is the interface for the callback passed to L<uv_signal_start|https://docs.libuv.org/en/v1.x/signals.html#c.uv_signal_start>.
14  
15 =head1 Usage
16  
17 use UV::Callback::Signal;
18  
19 =head1 Interface Methods
20  
21 =head2 Anonymous method
22  
23 C<required method : void ($uv_signal : L<UV::Handle::Signal|SPVM::UV::Handle::Signal>, $signum : int);>
24  
25 The callback method called when the signal is received.
26  
27 See L<UV::Handle::Signal#start|SPVM::UV::Handle::Signal/"start"> method for usage.
28  
29 =head1 Repository
30  
31 L<https://github.com/kimoto/SPVM-UV>
32  
33 =head1 Author
34  
35 Yuki Kimoto C<kimoto.yuki@gmail.com>
36  
37 =head1 Copyright & License
38  
39 Copyright (c) 2026 Yuki Kimoto
40  
41 MIT License