The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

SYNOPSIS

use Vulcan::Phasic;

my $phase = Vulcan::Phasic->new
(
    src => \@src, dst => \@dst, quiesce => [],
    code => sub { .. }, weight => sub { return int .. }
);

$phase->run
( 
    retry => 3, timeout => 100, log => $handle, param => { .. },
);

METHODS

run( %param )

The following parameters may be defined in %param.

timeout : ( default 0 = no timeout ) number of retries.
retry : ( default 0 = no retry ) number of retries.
log : ( default STDERR ) file handle for logging.