Process::Async::Manager - handle async background process
version 0.003
my $pm = Process::Async::Manager->new; my $child = $pm->spawn( worker_class => 'Some::Worker::Class', ); $child->stdio->write('start');
Look in examples/ in the source distribution.
Applies our configuration. Currently accepts:
worker - either the name of the subclass used for instantiating a worker, or an existing instance, or a coderef which will return a suitable Process::Async::Worker instance
child - either the name of the subclass used for instantiating a child, or an existing instance, or a coderef which will return a suitable Process::Async::Child instance
Accessor for the Process::Async::Worker generator/class/instance.
Accessor for the Process::Async::Child generator/class/instance.
Spawn a child. Returns a Process::Async::Child instance.
Can take worker/child params.
add_child, adopt_future, can_event, children, configure_unknown, debug_printf, get_loop, invoke_error, invoke_event, loop, make_event_cb, maybe_invoke_event, maybe_make_event_cb, new, notifier_name, parent, remove_child, remove_from_parent
Tom Molesworth <cpan@perlsite.co.uk>
Copyright Tom Molesworth 2014-2015. Licensed under the same terms as Perl itself.
To install Process::Async, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Process::Async
CPAN shell
perl -MCPAN -e shell install Process::Async
For more information on module installation, please visit the detailed CPAN module installation guide.