没有合适的资源?快使用搜索试试~ 我知道了~
stubborn:可配置的函数结果处理程序,具有针对故障的持久性
共15个文件
php:9个
gitignore:1个
json:1个
需积分: 5 0 下载量 125 浏览量
2021-07-06
17:03:34
上传
评论
收藏 19KB ZIP 举报
温馨提示
固执的 可配置的调用处理程序,对失败是持久的。 在构建、测试和依赖。 对似乎随机失败的不可靠 API 感到沮丧? 使用 Stubborn 可确保您不会在代码中最脆弱和最未知的地方不受保护。 Stubborn 提供了处理各种外部 API 调用所需的所有必要工具: -结果处理 -重试处理(立即/延迟) -异常捕获 -退避处理 例子: $ id = $ _RESULT [ 'user_id' ]; // $result will contain either the result from each attempt, or the exception // each attempt threw $ result = Stubborn :: build () // Use the Stubborn Result Handler to drive your call retries
资源推荐
资源详情
资源评论
收起资源包目录
stubborn-master.zip (15个子文件)
stubborn-master
.gitignore 249B
.travis.yml 79B
LICENSE 11KB
composer.json 560B
composer.lock 24KB
README.md 3KB
tests
StubbornTest.php 10KB
lib
Exceptions
StubbornException.php 188B
Stubborn.php 14KB
Events
StopEvent.php 355B
RetryEvent.php 248B
StubbornEvent.php 266B
ResetEvent.php 217B
BackoffEvent.php 219B
EventHandler.php 3KB
共 15 条
- 1
资源评论
纯文本文档
- 粉丝: 31
- 资源: 4644
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功