AnyEvent-Retry
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
"requires" : {
"AnyEvent" : 0,
"Math::Fibonacci" : 0,
"Moose" : 0,
"Moose::Role" : 0,
"MooseX::Types" : 0,
"MooseX::Types::Common::Numeric" : 0,
"MooseX::Types::Moose" : 0,
"Scalar::Util" : 0,
"Try::Tiny" : 0,
"namespace::autoclean" : 0,
"true" : 0
}
},
"test" : {
"requires" : {
"Test::Exception" : 0,
"Test::More" : 0,
"ok" : 0
}
}
requires:
AnyEvent: 0
Math::Fibonacci: 0
Moose: 0
Moose::Role: 0
MooseX::Types: 0
MooseX::Types::Common::Numeric: 0
MooseX::Types::Moose: 0
Scalar::Util: 0
Try::Tiny: 0
namespace::autoclean: 0
true: 0
resources:
repository: http://github.com/jrockway/anyevent-retry
version: 0.03
x_Dist_Zilla:
plugins:
-
class: Dist::Zilla::Plugin::BeJROCKWAY
name: '@JROCKWAY/BeJROCKWAY'
version: 1.102911
Makefile.PL view on Meta::CPAN
'PREREQ_PM' => {
'AnyEvent' => '0',
'Math::Fibonacci' => '0',
'Moose' => '0',
'Moose::Role' => '0',
'MooseX::Types' => '0',
'MooseX::Types::Common::Numeric' => '0',
'MooseX::Types::Moose' => '0',
'Scalar::Util' => '0',
'Try::Tiny' => '0',
'namespace::autoclean' => '0',
'true' => '0'
},
'VERSION' => '0.03',
'test' => {
'TESTS' => 't/*.t t/intervals/*.t'
}
);
unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
lib/AnyEvent/Retry.pm view on Meta::CPAN
# ABSTRACT: try something until it works
use Moose;
use MooseX::Types::Common::Numeric qw(PositiveNum);
use AnyEvent::Retry::Types qw(Interval);
use AnyEvent;
use Try::Tiny;
use Scalar::Util qw(weaken);
use true;
use namespace::autoclean;
has 'after' => (
is => 'ro',
isa => PositiveNum,
default => 0,
);
has 'interval' => (
is => 'ro',
isa => Interval,
lib/AnyEvent/Retry/Coro.pm view on Meta::CPAN
BEGIN {
$AnyEvent::Retry::Coro::VERSION = '0.03';
}
# ABSTRACT: AnyEvent::Retry for jobs that run in separate threads
use Moose;
use Coro;
use Scalar::Util qw(weaken);
use Try::Tiny;
use true;
use namespace::autoclean;
extends 'AnyEvent::Retry';
has '+on_failure' => (
init_arg => undef,
required => 0,
writer => 'set_failure_cb',
);
has '+on_success' => (
lib/AnyEvent/Retry/Interval.pm view on Meta::CPAN
package AnyEvent::Retry::Interval;
BEGIN {
$AnyEvent::Retry::Interval::VERSION = '0.03';
}
# ABSTRACT: role representing a time sequence generator for C<AnyEvent::Retry>
use Moose::Role;
use true;
use namespace::autoclean;
with 'AnyEvent::Retry::Interval::API';
has 'counter' => (
is => 'bare', # has 'Moose' => ( is => 'bug ridden' );
traits => ['Counter'],
reader => 'counter',
isa => 'Num',
lazy => 1,
default => 0,
lib/AnyEvent/Retry/Interval/API.pm view on Meta::CPAN
package AnyEvent::Retry::Interval::API;
BEGIN {
$AnyEvent::Retry::Interval::API::VERSION = '0.03';
}
# ABSTRACT: API role that interval classes must implement
use Moose::Role;
use true;
use namespace::autoclean;
requires 'next';
requires 'reset';
=pod
=head1 NAME
lib/AnyEvent/Retry/Interval/Constant.pm view on Meta::CPAN
package AnyEvent::Retry::Interval::Constant;
BEGIN {
$AnyEvent::Retry::Interval::Constant::VERSION = '0.03';
}
# ABSTRACT: a constant interval
use Moose;
use MooseX::Types::Common::Numeric qw(PositiveNum);
use true;
use namespace::autoclean;
with 'AnyEvent::Retry::Interval';
has 'interval' => (
is => 'ro',
isa => PositiveNum,
default => 1,
);
sub reset {}
lib/AnyEvent/Retry/Interval/Fibonacci.pm view on Meta::CPAN
BEGIN {
$AnyEvent::Retry::Interval::Fibonacci::VERSION = '0.03';
}
# ABSTRACT: fibonacci back-off
use Moose;
use MooseX::Types::Common::Numeric qw(PositiveNum);
use Math::Fibonacci qw(term);
use true;
use namespace::autoclean;
with 'AnyEvent::Retry::Interval';
has 'scale' => (
is => 'ro',
isa => PositiveNum,
default => 1.0,
);
sub reset {}
lib/AnyEvent/Retry/Interval/Multi.pm view on Meta::CPAN
package AnyEvent::Retry::Interval::Multi;
BEGIN {
$AnyEvent::Retry::Interval::Multi::VERSION = '0.03';
}
# ABSTRACT: combine multiple interval objects into one interval
use Moose;
use AnyEvent::Retry::Types qw(Interval);
use true;
use namespace::autoclean;
with 'AnyEvent::Retry::Interval';
has [qw/first then/] => (
is => 'ro',
isa => Interval,
required => 1,
coerce => 1,
);
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.558 second using v1.00-cache-2.02-grep-82fe00e-cpan-c98054f2a92 )