UV/Callback/Exit.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::Exit;
2  
3  
4  
5 1;
6  
7 =encoding utf8
8  
9 =head1 Name
10  
11 SPVM::UV::Callback::Exit - Callback for Process Exit
12  
13 =head1 Description
14  
15 C<UV::Callback::Exit> in L<SPVM> is the interface for the callback passed to L<uv_spawn|https://docs.libuv.org/en/v1.x/process.html#c.uv_spawn>.
16  
17 =head1 Usage
18  
19 use UV::Callback::Exit;
20  
21 =head1 Interface Methods
22  
23 =head2 Anonymous method
24  
25 C<required method : void ($uv_process : L<UV::Handle::Process|SPVM::UV::Handle::Process>, $exit_status : long, $term_signal : int);>
26  
27 The callback method called when the process has exited.
28  
29 =head1 Copyright & License
30  
31 Copyright (c) 2026 Yuki Kimoto
32  
33 MIT License