View Source Moar.Retry (Moar v1.2.0)

Link to this section Summary

Link to this section Functions

Link to this function

rescue_for!(timeout_ms \\ 5000, fun)

View Source
@spec rescue_for!(pos_integer(), (() -> any())) :: any() | no_return()
Link to this function

rescue_until!(time, fun)

View Source
@spec rescue_until!(DateTime.t(), (() -> any())) :: any() | no_return()