This package provides a couple strategies for backoff with support for cancellation.
The code is from libbeat, used under the Apache License, Version 2.0. See NOTICE for details.
You like the user interface of the utility in libbeat but don't want to introduce a dependency on libbeat.
(As of the creation of this fork, depending on libbeat is problematic due to transitive dependencies that don't play nice with go get
.)
If including libbeat as a dependency works for you, you should do that instead.
Pull Requests to keep the code in this package in sync with libbeat are welcome, so long as the updates are entirely under the Apache License, Version 2.0 and are properly attributed.
This package will follow semver with respect to the backoff code itself.