AnyEvent::Subprocess::Delegate - role representing a delegate


AnyEvent-Subprocess documentation Contained in the AnyEvent-Subprocess distribution.

Index


Code Index:

NAME

Top

AnyEvent::Subprocess::Delegate - role representing a delegate

VERSION

Top

version 1.102912

DESCRIPTION

Top

All delegates consume this role; it provides name and is a type tag.

METHODS

Top

clone

Returns a deep copy of the delegate.

REQUIRED ATTRIBUTES

Top

name

The name of the delegate. You can only have one delegate of each name per class.

SEE ALSO

Top

AnyEvent::Subprocess

AnyEvent::Subprocess::Role::WithDelegates

AUTHOR

Top

Jonathan Rockway <jrockway@cpan.org>

COPYRIGHT AND LICENSE

Top


AnyEvent-Subprocess documentation Contained in the AnyEvent-Subprocess distribution.

package AnyEvent::Subprocess::Delegate;
BEGIN {
  $AnyEvent::Subprocess::Delegate::VERSION = '1.102912';
}
# ABSTRACT: role representing a delegate
use Moose::Role;

with 'MooseX::Clone';

has 'name' => (
    is       => 'ro',
    isa      => 'Str',
    required => 1,
);

1;




__END__