| POEx-WorkerPool documentation | Contained in the POEx-WorkerPool distribution. |
POEx::WorkerPool::WorkerEvents - Exported event symbols for WorkerPool
version 1.102740
This modules exports the needed symbols for subscribing to a Workers associated PubSub events. See POEx::WorkerPool::Role::WorkerPool::Worker for more details on signatures required for each event
PXWP_WORKER_CHILD_ERROR
PXWP_WORKER_CHILD_EXIT
PXWP_JOB_ENQUEUED
PXWP_START_PROCESSING
PXWP_JOB_DEQUEUED
PXWP_STOP_PROCESSING
PXWP_WORKER_INTERNAL_ERROR
PXWP_JOB_COMPLETE
PXWP_JOB_PROGRESS
PXWP_JOB_FAILED
PXWP_JOB_START
PXWP_JOB_COMPLETE
PXWP_WORKER_ERROR
Nicholas R. Perez <nperez@cpan.org>
This software is copyright (c) 2010 by Infinity Interactive.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
| POEx-WorkerPool documentation | Contained in the POEx-WorkerPool distribution. |
package POEx::WorkerPool::WorkerEvents; BEGIN { $POEx::WorkerPool::WorkerEvents::VERSION = '1.102740'; } #ABSTRACT: Exported event symbols for WorkerPool use warnings; use strict; use Moose; use constant { PXWP_WORKER_CHILD_ERROR => 'PXWP_WORKER_CHILD_ERROR', PXWP_WORKER_CHILD_EXIT => 'PXWP_WORKER_CHILD_EXIT', PXWP_JOB_ENQUEUED => 'PXWP_JOB_ENQUEUED', PXWP_START_PROCESSING => 'PXWP_START_PROCESSING', PXWP_JOB_DEQUEUED => 'PXWP_JOB_DEQUEUED', PXWP_STOP_PROCESSING => 'PXWP_STOP_PROCESSING', PXWP_WORKER_INTERNAL_ERROR => 'PXWP_WORKER_INTERNAL_ERROR', PXWP_JOB_COMPLETE => 'PXWP_JOB_COMPLETE', PXWP_JOB_PROGRESS => 'PXWP_JOB_PROGRESS', PXWP_JOB_FAILED => 'PXWP_JOB_FAILED', PXWP_JOB_START => 'PXWP_JOB_START', PXWP_WORKER_ERROR => 'PXWP_WORKER_ERROR', }; use Sub::Exporter -setup => { exports => [ qw/ PXWP_WORKER_CHILD_ERROR PXWP_WORKER_CHILD_EXIT PXWP_JOB_ENQUEUED PXWP_START_PROCESSING PXWP_JOB_DEQUEUED PXWP_STOP_PROCESSING PXWP_WORKER_INTERNAL_ERROR PXWP_JOB_COMPLETE PXWP_JOB_PROGRESS PXWP_JOB_FAILED PXWP_JOB_START PXWP_WORKER_ERROR / ] }; 1;
__END__