View Source CommonCrawl.Helpers (CommonCrawl v0.3.1)

Summary

Functions

Attempt an anonymous function max_attempts times. The function must return an {:ok, _}, {:error, _} or {:halt, _} tuple.

Functions

with_attempts(fun, max_attempts, backoff_ms \\ 0)

Attempt an anonymous function max_attempts times. The function must return an {:ok, _}, {:error, _} or {:halt, _} tuple.