FreeBSD.software
Home/devel/rubygem-retryable

rubygem-retryable

3.0.5devel

Allow for retrying of code blocks

Retryable uns a code block, and retries it when an exception occurs. It's great when working with flakey webservices (for example). It's configured using four optional parameters :tries, :on, :sleep, :matching, :ensure, :exception_cb and runs the passed block. Should an exception occur, it'll retry for (n-1) times. Should the number of retries be reached without success, the last exception will be raised.

$pkg install rubygem-retryable
github.com/nfedyashev/retryable
Origin
devel/rubygem-retryable
Size
34.7KiB
License
MIT
Maintainer
sunpoet@FreeBSD.org
Dependencies
2 packages
Required by
1 packages

Dependencies (2)

Required By (1)