cujojs / when

A solid, fast Promises/A+ and when() implementation, plus other async goodies.
Other
3.44k stars 396 forks source link

Add recursive retry to cookbook #427

Open briancavalier opened 9 years ago

briancavalier commented 9 years ago

See #426

rkaw92 commented 9 years ago

You might want to take a look at https://github.com/rkaw92/when-retry for an example of a configurable retry strategy. Just put any code that delays the retry / gives up in a trampoline and pass an instance of it to the RetryStrategy factory.

briancavalier commented 9 years ago

Nice, thanks!