public protocol RetryStrategy
Defines a retry strategy can be applied to a
Types Conforming to
A retry strategy that guides Kingfisher to retry when a
.responseErrorhappens, with a specified max retry count and a certain interval mechanism.
Kingfisher calls this method if an error happens during the image retrieving process from a
You implement this method to provide necessary logic based on the
context parameter. Then you need to call
retryHandler to pass the retry decision back to Kingfisher.
The retry context containing information of current retry attempt.
A block you need to call with a decision of whether the retry should happen or not.