Zing::Launcher - Scheme Launcher
Scheme Launching Worker Process
package Launcher; use parent 'Zing::Launcher'; sub queues { ['schemes'] } package main; my $launcher = Launcher->new; # $launcher->execute;
This package provides a worker process which loads, instantiates, and executes schemes received as messages.
This package inherits behaviors from:
Zing::Worker
This package uses type constraints from:
Zing::Types
This package implements the following methods:
handle(Str $name, HashRef $data) : Object
The handle method is executed whenever the process receive a new message, and receives the queue name and data as arguments.
# given: synopsis $launcher->handle('schemes', { scheme => ['MyApp', [], 1] });
# given: synopsis $launcher->handle('schemes', { scheme => ['MyApp', [], 4] });
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.