public protocol RetryStrategy
Defines a retry strategy can be applied to a
Kingfisher calls this method if an error happens during the image retrieving process from a
KingfisherManager. You implement this method to provide necessary logic based on the
contextparameter. Then you need to call
retryHandlerto 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.