View Source Flamel.Retryable.Strategy protocol (flamel v1.10.0)

The Flamel.Retryable.Strategy protocol calculates the retry interval to be used in situation that requires an action to be performed again and at a different time because of a problem that occurred previously while performing that action.

Summary

Types

t()

All the types that implement this protocol.

Functions

Calculate the next retry interval. It might also signal to stop retrying

Types

@type t() :: term()

All the types that implement this protocol.

Functions

@spec calc(term()) :: term()

Calculate the next retry interval. It might also signal to stop retrying