NAME

Beam::Wire::Event::ConfigService - Event fired when configuring a new service

VERSION

version 1.026

SYNOPSIS

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

DESCRIPTION

This event is fired when a service is configured. See "configure_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 configured.

config

The normalized configuration for the service (see "normalize_config" in Beam::Wire).

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.