diff options
author | Alberto Sartori <alberto.sartori@huawei.com> | 2023-12-04 16:37:25 +0100 |
---|---|---|
committer | Alberto Sartori <alberto.sartori@huawei.com> | 2023-12-13 23:04:36 +0100 |
commit | 9b3eb0e818f25be8a49b441a55991bcf86697548 (patch) | |
tree | 875637c9be4416baed52daff0492bd1884a79475 /src/buildtool/common/cli.hpp | |
parent | 2c60618bc6a49ea3b88e65991b14243f98555193 (diff) | |
download | justbuild-9b3eb0e818f25be8a49b441a55991bcf86697548.tar.gz |
Add a retry lib that provides useful wrappers to allow to retry...
...the provided function until either the function succeeds, maximum
number of attempts is reached or the function returns an error
indicating that we cannot simply retry.
It is meant to be used with rpc calls, but the logic can be applied to
other scenarios.
Diffstat (limited to 'src/buildtool/common/cli.hpp')
0 files changed, 0 insertions, 0 deletions