ReplanningRetryPolicyFactory
public enum ReplanningRetryPolicyFactory
Responsible for creating default implementation of a ReplanningRetryPolicy
.
-
Default values of
See moreReplanningRetryPolicyFactory
.Declaration
Swift
public enum Defaults
-
Creates default implementation of a
ReplanningRetryPolicy
with provided maximal delay between retries or defaultmaxRetryDelay
value.Declaration
Swift
public static func create( maxRetryDelay: DispatchTimeInterval = ReplanningRetryPolicyFactory.Defaults .maxRetryDelay ) -> ReplanningRetryPolicy
Parameters
maxRetryDelay
Maximum delay (in seconds) between retries. The default is 10 seconds.
Return Value
An instance of
ReplanningRetryPolicy
.