line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package RxPerl::Subscriber; |
2
|
5
|
|
|
5
|
|
26
|
use strict; |
|
5
|
|
|
|
|
8
|
|
|
5
|
|
|
|
|
111
|
|
3
|
5
|
|
|
5
|
|
18
|
use warnings; |
|
5
|
|
|
|
|
10
|
|
|
5
|
|
|
|
|
744
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = "v6.27.1"; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub next { |
8
|
6
|
|
|
6
|
0
|
28
|
my $self = shift; |
9
|
|
|
|
|
|
|
|
10
|
6
|
100
|
|
|
|
20
|
$self->{next}->(splice @_, 0, 1) if defined $self->{next}; |
11
|
|
|
|
|
|
|
} |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub error { |
14
|
0
|
|
|
0
|
0
|
0
|
my $self = shift; |
15
|
|
|
|
|
|
|
|
16
|
0
|
0
|
|
|
|
0
|
$self->{error}->(splice @_, 0, 1) if defined $self->{error}; |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub complete { |
20
|
1
|
|
|
1
|
0
|
5
|
my $self = shift; |
21
|
|
|
|
|
|
|
|
22
|
1
|
50
|
|
|
|
5
|
$self->{complete}->() if defined $self->{complete}; |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
|
25
|
1041
|
|
|
1041
|
0
|
3499
|
sub subscription { $_[0]->{_subscription} } |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
1; |