NAME
Zing::Launcher - Scheme Launcher
ABSTRACT
Scheme Launching Worker Process
SYNOPSIS
package Launcher;
use parent 'Zing::Launcher';
sub queues {
['schemes']
}
package main;
my $launcher = Launcher->new;
# $launcher->execute;
DESCRIPTION
This package provides a worker process which loads, instantiates, and executes schemes received as messages.
INHERITS
This package inherits behaviors from:
LIBRARIES
This package uses type constraints from:
METHODS
This package implements the following methods:
handle
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.
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".