Beam::Wire::Event::BuildService - Event fired when building a new service
version 1.024
my $wire = Beam::Wire->new( ... ); $wire->on( build_service => sub { my ( $event ) = @_; print "Built service named " . $event->service_name; } );
This event is fired when a service is built. See "build_service" in Beam::Wire.
This class inherits from Beam::Event and adds the following attributes.
The container that is listening for the event.
The name of the service being built.
The newly-built service.
Doug Bell <preaction@cpan.org>
Al Newkirk <anewkirk@ana.io>
This software is copyright (c) 2018-2021 by Doug Bell.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Beam::Wire, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Beam::Wire
CPAN shell
perl -MCPAN -e shell install Beam::Wire
For more information on module installation, please visit the detailed CPAN module installation guide.