Top 4.8% dependent repos on proxy.golang.org
proxy.golang.org : github.com/arsham/retry
Package retry invokes a given function until it succeeds. It sleeps in between attempts based the DelayMethod. It is useful in situations that an action might succeed after a few attempt due to unavailable resources or waiting for a condition to happen. The default DelayMethod sleeps exactly the same amount of time between attempts. You can use the IncrementalDelay method to increment the delays between attempts. It gives a jitter to the delay to prevent Thundering herd problems. If the delay is 0 in either case, it does not sleep between tries.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/arsham/retry
Keywords:
go
, golang
, golang-library
License: Apache-2.0
Latest release: almost 3 years ago
First release: almost 5 years ago
Namespace: github.com/arsham
Dependent packages: 5
Dependent repositories: 1
Stars: 1 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 11 days ago