Comparing version 0.1.1-1 to 0.1.1-2
{ | ||
"name": "re", | ||
"description": "Do it again, after a bit.", | ||
"version": "0.1.1-1", | ||
"version": "0.1.1-2", | ||
"main": "./lib/re", | ||
@@ -6,0 +6,0 @@ "keywords": ["utility", "retry", "exponential backoff", "linear backoff"], |
@@ -75,3 +75,3 @@ # Re | ||
The `done` argument is a function to call when you've completed your operation. | ||
If you encounter an error condition in your operation, pass in the Error object | ||
If you encounter an error condition, pass in the `err` object | ||
as the first argument. If you don't encounter an error, pass in a falsy first | ||
@@ -82,4 +82,3 @@ argument (null works). If you give us a falsy error and no exception happens, | ||
The second function passed to `re.try` can take as many arguments as you like but | ||
should always start with an error parameter. This will be called with a falsy first | ||
parameter, if no error happens. | ||
should always start with an error parameter. This will be falsy, if no error happens. | ||
@@ -86,0 +85,0 @@ The `re.do` function is like `re.try` expect it doesn't wrap your operation in |
29891
147