[ ソース: ruby-retryable ]
パッケージ: ruby-retryable (3.0.5-1)
ruby-retryable に関するリンク
Debian の資源:
ruby-retryable ソースパッケージをダウンロード:
- [ruby-retryable_3.0.5-1.dsc]
- [ruby-retryable_3.0.5.orig.tar.gz]
- [ruby-retryable_3.0.5-1.debian.tar.xz]
メンテナ:
外部の資源:
- ホームページ [github.com]
類似のパッケージ:
module that allows one to retry a code block
Runs 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.