Retries functions that throw or call back with an error, in crazily customizable ways.
##ChangeLog
- Attempt no longer swallows errors in the callback func (nebulade)
- Options and tryFunc are now accepted in any order.
- Default retries is now 2 instead of 5. If you fail 3 times in a row, you'll probably fail 3 more.
- More consistent formatting around examples.
- Docs are clearer; exception handling is called out in JSDoc.
- Attempt is now considered 1.0.0 stable.
- Added 'max' option to cap increasing interval times. (dominictarr)
- Added 'random' option to randomly fluctuate interval times. (dominictarr)
- Initial Release