Test2::EventFacet::Hub − Facet for the hubs an event passes through.
These are a record of the hubs an event passes through. Most recent hub is the first one in the list.
$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").
The source code repository for Test2 can be found at http://github.com/Test−More/test−more/.
Chad Granum <[email protected]>
Chad Granum <[email protected]>
Copyright 2020 Chad Granum <[email protected]>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://dev.perl.org/licenses/