NAME
Zing::Zang::Spawner - Process Spawner
ABSTRACT
Process Spawner Implementation
SYNOPSIS
use Zing::Zang::Spawner;
my $zang = Zing::Zang::Spawner->new(
queues => ['launch'],
);
# $zang->execute;
DESCRIPTION
This package provides a Zing::Spawner which uses callbacks and doesn't need to be subclassd. It supports providing a list of queues to listen to which will fork a process that loads, instantiates and executes schemes recevied.
INHERITS
This package inherits behaviors from:
LIBRARIES
This package uses type constraints from:
ATTRIBUTES
This package has the following attributes:
on_perform
on_perform(Maybe[CodeRef])
This attribute is read-only, accepts (Maybe[CodeRef])
values, and is optional.
on_receive
on_receive(Maybe[CodeRef])
This attribute is read-only, accepts (Maybe[CodeRef])
values, and is optional.
queues
queues(ArrayRef[Str])
This attribute is read-only, accepts (ArrayRef[Str])
values, and is required.
AUTHOR
Al Newkirk, awncorp@cpan.org
LICENSE
Copyright (C) 2011-2019, Al Newkirk, et al.
This is free software; you can redistribute it and/or modify it under the terms of the The Apache License, Version 2.0, as elucidated in the "license file".