File Coverage

blib/lib/Promises6/Evo/Deferred.pm
Criterion Covered Total %
statement 9 9 100.0
branch 1 2 50.0
condition n/a
subroutine 3 3 100.0
pod 1 1 100.0
total 14 15 93.3


line stmt bran cond sub pod time code
1             package Promises6::Evo::Deferred;
2 26     26   91 use Evo 'Promises6::Deferred', -modern;
  26         29  
  26         164  
3              
4 169 50   169 1 788 sub send_msg($self, @args) {
  169         145  
  169         353  
  169         134  
5 169     169   306 Evo::dep_single('Evo::Flow')->asap(sub { $self->SUPER::send_msg(@args) });
  169         17977  
6             }
7              
8             1;
9              
10             # ABSTRACT: A deferred class
11              
12             __END__