diff options
author | cyrus durgin <cyrusd@gmail.com> | 2015-09-10 15:57:35 -0700 |
---|---|---|
committer | cyrus durgin <cyrusd@gmail.com> | 2015-09-10 15:57:35 -0700 |
commit | 6a55573d588e4a817986c8964d97dceb8c46585a (patch) | |
tree | c578059a5b8ac5d3adc7a8e2c92dfe82ca27b2ff /.gitignore | |
parent | da33537e0850f997aea75c4dec010e2b5594071f (diff) | |
download | retrying-6a55573d588e4a817986c8964d97dceb8c46585a.tar.gz |
Adds two additional parameters to the Retrying() constructor:
_before_attempts
_after_attempts
Each of these should be a reference to a function that takes a
single argument, attempt_number.
_before_attempts will be called before each attempt is run;
_after_attempts is run after any *unsuccessful* attempt.
Handy for logging status messages, etc in between attempts.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions