Subprocess/Done/Delegate/Timeout.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 14 / 14 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Subprocess/Done/Delegate/State.pm ↑ Summary Subprocess/Job/Delegate.pm »
1 package AnyEvent::Subprocess::Done::Delegate::Timeout;
2 48 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
3 48 $AnyEvent::Subprocess::Done::Delegate::Timeout::VERSION = '1.102912';
4 }
5 # ABSTRACT: done delegate for a job that can time out
6 48 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 48 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 47 with 'AnyEvent::Subprocess::Done::Delegate';
10  
11 47 has 'timed_out' => (
12 is => 'ro',
13 isa => 'Bool',
14 required => 1,
15 );
16  
17 47 __PACKAGE__->meta->make_immutable;
18  
19 47 1;
20  
21  
22  
23 =pod
24  
25 =head1 NAME
26  
27 AnyEvent::Subprocess::Done::Delegate::Timeout - done delegate for a job that can time out
28  
29 =head1 VERSION
30  
31 version 1.102912
32  
33 =head1 ATTRIBUTES
34  
35 =head2 timed_out
36  
37 True if the job was killed because it ran out of time.
38  
39 =head1 AUTHOR
40  
41 Jonathan Rockway <jrockway@cpan.org>
42  
43 =head1 COPYRIGHT AND LICENSE
44  
45 This software is copyright (c) 2011 by Jonathan Rockway.
46  
47 This is free software; you can redistribute it and/or modify it under
48 the same terms as the Perl 5 programming language system itself.
49  
50 =cut
51  
52  
53 __END__
« Subprocess/Done/Delegate/State.pm ↑ Summary Subprocess/Job/Delegate.pm »