Scroll to navigation

Test2::EventFacet::Hub(3pm) Perl Programmers Reference Guide Test2::EventFacet::Hub(3pm)

NAME

Test2::EventFacet::Hub - Facet for the hubs an event passes through.

DESCRIPTION

These are a record of the hubs an event passes through. Most recent hub is the first one in the list.

FACET FIELDS

$string = $trace->{details}
$string = $trace->details()
The hub class or subclass
$int = $trace->{pid}
$int = $trace->pid()
PID of the hub this event was sent to.
$int = $trace->{tid}
$int = $trace->tid()
The thread ID of the hub the event was sent to.
$hid = $trace->{hid}
$hid = $trace->hid()
The ID of the hub that the event was send to.
$huuid = $trace->{huuid}
$huuid = $trace->huuid()
The UUID of the hub that the event was sent to.
$int = $trace->{nested}
$int = $trace->nested()
How deeply nested the hub was.
$bool = $trace->{buffered}
$bool = $trace->buffered()
True if the event was buffered and not sent to the formatter independent of a parent (This should never be set when nested is 0 or "undef").

SOURCE

The source code repository for Test2 can be found at <https://github.com/Test-More/test-more/>.

MAINTAINERS

AUTHORS

COPYRIGHT

Copyright 2020 Chad Granum <exodist@cpan.org>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See <https://dev.perl.org/licenses/>

2024-07-03 perl v5.40.0