NilRetrier
public struct NilRetrier : Retrier
This retrier is used to indicate that the request is not retried under any circumstances.
Upon calling the retry
method, the returned Future immediately delivers a message that the
request does not need to be retried.
-
Initializes a new factory yielding instances of nil retriers for requests (i.e. requests are never retried).
Declaration
Swift
public static func factory() -> RetrierFactory
-
Initializes a new never-retrying retrier. The implementation does nothing.
Declaration
Swift
public init()