Zing::Logic - Process Logic
Process Logic Chain
use Zing::Logic; use Zing::Process; my $process = Zing::Process->new; my $logic = Zing::Logic->new(process => $process);
This package provides the logic (or logic chain) to be executed by the process event-loop.
This package uses type constraints from:
Zing::Types
This package has the following attributes:
interupt(Interupt)
This attribute is read-only, accepts (Interupt) values, and is optional.
(Interupt)
on_perform(CodeRef)
This attribute is read-only, accepts (CodeRef) values, and is optional.
(CodeRef)
on_receive(CodeRef)
on_register(CodeRef)
on_reset(CodeRef)
on_suicide(CodeRef)
process(Process)
This attribute is read-only, accepts (Process) values, and is required.
(Process)
This package implements the following methods:
flow() : Flow
The flow method builds and returns the logic flow for the process event-loop.
# given: synopsis my $flow = $logic->flow;
signals() : HashRef
The signals method builds and returns the process signal handlers.
# given: synopsis my $signals = $logic->signals;
Al Newkirk, awncorp@cpan.org
awncorp@cpan.org
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".
Wiki
Project
Initiatives
Milestones
Contributing
Issues
To install Zing, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Zing
CPAN shell
perl -MCPAN -e shell install Zing
For more information on module installation, please visit the detailed CPAN module installation guide.