| POE-Component-Supervisor documentation | Contained in the POE-Component-Supervisor distribution. |
POE::Component::Supervisor::Interface - Minimal interface for supervisors
package My::Supervisor;
with qw(POE::Component::Supervisor::Interface);
This role lets you implement your own supervisor, reusing POE::Component::Supervisor::Supervised and POE::Component::Supervisor::Handle implementations.
This is useful if you'd like to start/stop/monitor child components/processes without the monitoring/restarting logic in POE::Component::Supervisor itself.
| POE-Component-Supervisor documentation | Contained in the POE-Component-Supervisor distribution. |
#!/usr/bin/perl package POE::Component::Supervisor::Interface; use Moose::Role; use namespace::clean -except => 'meta'; requires qw( notify_spawned notify_stopped ); __PACKAGE__ __END__