AnyEvent::Retry::Interval - role representing a time sequence generator for
Reset the sequence generator to its initial state.
reset accepts no arguments.
Return the next element in the sequence.
In scalar context,
return only the next element.
In list context,
return a pair of the next element and the number of times
next has been called since
next accepts no arguments.
Consume this role.
next method only needs to return the next value in the sequence; the list context behavior is automatically added when you consume this role.
It is automatically passed the counter as the only argument,
1 the first time after a reset.
Jonathan Rockway <firstname.lastname@example.org>
This software is copyright (c) 2010 by Jonathan Rockway.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.