memdevs/attempt
Composer 安装命令:
composer require memdevs/attempt
包简介
A small library for attempting operations with graceful retries, based on an idea by igorw/retry
README 文档
README
This package will attempt to execute a function (closure or callable) until a set number of attempts have been made. It will intercept exceptions (and store them for reporting) and enables you to have significant control over how the function is handled during error conditions. It's great for access to remote URLs or databases where you risk experiencing failures. Note, it relies on exceptions to detect "failure" which will cause another attempt. For further information, please see the "examples" folder. More info will come later.
统计信息
- 总下载量: 367
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-07-17