NAME
PSA::POE - POE process manager for PSA
SYNOPSIS
use PSA qw(POE);
my $poe_manager = PSA::POE->new
( cache => PSA::Cache->new (base_dir => "psa-bin"),
entry_point => "whassap", # or make _start.poe
args => [ ... ],
);
$poe_kernel->run();
DESCRIPTION
PSA::POE acts as a bridge between POE and PSA. A PSA::POE object is a PSA object. It uses the POE::Session::PSA class to bridge between PSA and POE.
In this mode, a PSA object (or, more accurately, a PSA::POE object) is tracked via a POE session. This module was an experiment to see if there is any scope to make PSA's primary multi-threading capabilities work via POE.
See the examples in t/poe-bin in the distribution for a very brief exploration of this technique.
INTERFACE
PSA::POE->new(option => value...)
Creates a new PSA POE session, and returns it.