RSDRequestConfiguration

public protocol RSDRequestConfiguration : RSDAsyncActionConfiguration

RSDRequestConfiguration is used to start an asynchronous service such as a url request or fetching from core data.

Note

This configuration type is stubbed out for future work. This is not currently implemented in either RSDTaskController or RSDTaskViewController. (syoung 11/15/2017)
  • An identifier marking a step to wait to display until the action is completed. This is only valid for actions that are single result actions and not continuous recorders.

    Declaration

    Swift

    var waitStepIdentifier: String? { get }
  • A time interval after which the action should be reset. For example, if the action queries a weather service and the user backgrounds the app for more than the reset time, then the weather service should be queried again. If 0, then the action will never reset.

    Declaration

    Swift

    var resetTimeInterval: TimeInterval { get }
  • A time interval after which the action should be cancelled. If 0, then the action will not timeout and will wait indefinitely. This is not recommended UI.

    Declaration

    Swift

    var timeoutTimeInterval: TimeInterval { get }