AsyncOperation
open class AsyncOperation : Operation
Class for AsyncOperations
-
Operation error
Declaration
Swift
open var error: Error?
-
Overrides Operation variable
Declaration
Swift
override open var isAsynchronous: Bool { get }
-
Overrides Operation variable
Declaration
Swift
override open var isExecuting: Bool { get }
-
Overrides Operation variable
Declaration
Swift
override open var isFinished: Bool { get }
-
Describes Operation state
See moreDeclaration
Swift
public enum State : String
-
Overrides Operation function WARNING: You do not need override this function. Override main() func instead
Declaration
Swift
override open func start()
-
Call this function when you task is finished WARNING: You do not need override this function. Override main() func instead
Declaration
Swift
public func finish()
-
Implement your task here
Declaration
Swift
override open func main()