AOperation

open class AOperation<R> : Operation where R : _Requestable

An NSOperation base class for all request operations

  • The underlying respect respective to requestable.

    Declaration

    Swift

    public private(set) var request: Request!
  • Starts the request.

    Declaration

    Swift

    override open func main()
  • Cancels the request.

    Declaration

    Swift

    override open func cancel()
  • Undocumented

    Declaration

    Swift

    open func copy() -> AOperation
  • A Boolean value indicating whether the operation can be performed now. (read-only)

    Declaration

    Swift

    open override internal(set) var isReady: Bool { get set }
  • A Boolean value indicating whether the operation is currently executing. (read-only)

    Declaration

    Swift

    open override internal(set) var isExecuting: Bool { get set }
  • A Boolean value indicating whether the operation has been cancelled. (read-only)

    Declaration

    Swift

    open override internal(set) var isCancelled: Bool { get set }
  • A Boolean value indicating whether the operation has finished executing its task. (read-only)

    Declaration

    Swift

    open override internal(set) var isFinished: Bool { get set }
  • A boolean value true indicating the operation executes its task asynchronously.

    Declaration

    Swift

    override open var isAsynchronous: Bool { get }