State

public enum State

State of the Request, with managed transitions between states set when calling resume(), suspend(), or cancel() on the Request.

  • initialized: Initial state of the Request.
  • resumed: Set when resume() is called. Any tasks created for the Request will have resume() called on them in this state.
  • suspended: Set when suspend() is called. Any tasks created for the Request will have suspend() called on them in this state.
  • cancelled: Set when cancel() is called. Any tasks created for the Request will have cancel() called on them. Unlike resumed or suspended, once in the cancelled state, the Request can no longer transition to any other state.
  • Undocumented

    Declaration

    Swift

    case initialized
  • Undocumented

    Declaration

    Swift

    case resumed
  • Undocumented

    Declaration

    Swift

    case suspended
  • Undocumented

    Declaration

    Swift

    case cancelled