24 people like it.
Like the snippet!
A simple asynchronous workflow that retries running a given async workflow (until "resultOk" function returns true or until a specified number of retries is performed). The function uses tail-recursion in async workflows.
1: 2: 3: 4: |
|
Link: | http://fssnip.net/hr |
Posted: | 11 years ago |
Author: | Tomas Petricek |
Tags: | async , tail-recursion , retry |