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