Wraps a function so that transient failures — dropped connections, expired tokens, HTTP 5xx from the storage backend — are retried with a randomised exponential backoff instead of failing the whole pipeline run.
Details
A thin wrapper over purrr::insistently() with
purrr::rate_backoff(), centralising the retry policy that the country
pipelines previously each maintained by hand.
