一个用于重试失败操作的小型库。
A tiny library for retrying failing operations.
Since the network is reliable, things should always work. Am I right? For those cases when they don't, there is retry.
User::find($id));
// this is probably a bad idea
$user = retry(INF, () ==> {
throw new RuntimeException('never gonna give you up');
});
?>I know. You're welcome.
暂无开放 Issues,或尚未同步最近议题。