1 package Test2::EventFacet::Hub;
5 our $VERSION = '1.302181';
8 sub facet_key { 'hubs' }
10 BEGIN { require Test2::EventFacet; our @ISA = qw(Test2::EventFacet) }
11 use Test2::Util::HashBase qw{-pid -tid -hid -nested -buffered -uuid -ipc};
23 Test2::EventFacet::Hub - Facet for the hubs an event passes through.
27 These are a record of the hubs an event passes through. Most recent hub is the
28 first one in the list.
34 =item $string = $trace->{details}
36 =item $string = $trace->details()
38 The hub class or subclass
40 =item $int = $trace->{pid}
42 =item $int = $trace->pid()
44 PID of the hub this event was sent to.
46 =item $int = $trace->{tid}
48 =item $int = $trace->tid()
50 The thread ID of the hub the event was sent to.
52 =item $hid = $trace->{hid}
54 =item $hid = $trace->hid()
56 The ID of the hub that the event was send to.
58 =item $huuid = $trace->{huuid}
60 =item $huuid = $trace->huuid()
62 The UUID of the hub that the event was sent to.
64 =item $int = $trace->{nested}
66 =item $int = $trace->nested()
68 How deeply nested the hub was.
70 =item $bool = $trace->{buffered}
72 =item $bool = $trace->buffered()
74 True if the event was buffered and not sent to the formatter independent of a
75 parent (This should never be set when nested is C<0> or C<undef>).
81 The source code repository for Test2 can be found at
82 F<http://github.com/Test-More/test-more/>.
88 =item Chad Granum E<lt>exodist@cpan.orgE<gt>
96 =item Chad Granum E<lt>exodist@cpan.orgE<gt>
102 Copyright 2020 Chad Granum E<lt>exodist@cpan.orgE<gt>.
104 This program is free software; you can redistribute it and/or
105 modify it under the same terms as Perl itself.
107 See F<http://dev.perl.org/licenses/>