-
Notifications
You must be signed in to change notification settings - Fork 203
Open
Description
I have the following code:
/// When the URLSessionTask is complete the validateCompletion() function will return one of these values
/// to indicate to APIDispatcher how it should proceed
enum CompletionValidation {
case completionValidated /// Indicates to APIDispatcher that the last response you received is valid, and it should consider this request complete
case rejectedIsRetriable /// Indicates to APIDispatcher that your class implements APIRetriableRequestCompatible and the last received response was invalid. APIDispatcher will confirm the re-attempt and cooldown interval using the shouldReattempt function
case rejectedDontRetry /// Indicates to APIDispatcher that the last response you received was invalid, it should not attempt a retry and it should stop processing the request
}
Unused.rb complains that "class implements is unused". This refers to the comment of the rejectedIsRetriable enum in which you can find the word "class". This is obviously not a class definition syntax.
Metadata
Metadata
Assignees
Labels
No labels