Snippets tagged retry

  • Monadic Retry

    A Monad for composing computations with retry logic. (Useful when we work with Cloud Services)

    6 people like this

    Posted: 6 years ago by Nick Palladinos

  • Async function that retries work

    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.

    6 people like this

    Posted: 4 years ago by Tomas Petricek

  • Retry loop, no tricks

    Less-nonsense 8-line retry function that will retry a function a specified up to `maxRetries` times while it throws. After the retries, any remaining exception is allowed to propagate. Accepts a before function to allow you to wait/report when a retry is taking place

    2 people like this

    Posted: 3 years ago by Ruben Bartelink