The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Beam::Wire::Event::BuildService - Event fired when building a new service

VERSION

version 1.024

SYNOPSIS

    my $wire = Beam::Wire->new( ... );
    $wire->on( build_service => sub {
        my ( $event ) = @_;
        print "Built service named " . $event->service_name;
    } );

DESCRIPTION

This event is fired when a service is built. See "build_service" in Beam::Wire.

ATTRIBUTES

This class inherits from Beam::Event and adds the following attributes.

emitter

The container that is listening for the event.

service_name

The name of the service being built.

service

The newly-built service.

AUTHORS

  • Doug Bell <preaction@cpan.org>

  • Al Newkirk <anewkirk@ana.io>

COPYRIGHT AND LICENSE

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.