NAME

DynGig::Util::MultiPhase - A multi-phase task launcher.

SYNOPSIS

use DynGig::Util::MultiPhase;

my $mp = DynGig::Util::MultiPhase->new
(
    src => \@src,
    dst => \@dst,
    retry => 3,
    timeout => 100,
    code => sub { .. },
    param => { .. },
    weight => sub { return int .. },
);

$mp->run( log => $handle );

DESCRIPTION

run()

Launch task.

error()

Return errors as a HASH if any or undef

NOTE

See DynGig::Util