Instance Property

asynchronous

A Boolean value indicating whether the operation executes its task asynchronously.

Declaration

@property(readonly, getter=isAsynchronous) BOOL asynchronous;

Discussion

The value of this property is YES for operations that run asynchronously with respect to the current thread or NO for operations that run synchronously on the current thread. The default value of this property is NO.

When implementing an asynchronous operation object, you must implement this property and return YES. For more information about how to implement an asynchronous operation, see Asynchronous Versus Synchronous Operations.

See Also

Getting the Operation Status

cancelled

A Boolean value indicating whether the operation has been cancelled

executing

A Boolean value indicating whether the operation is currently executing.

finished

A Boolean value indicating whether the operation has finished executing its task.

concurrent

A Boolean value indicating whether the operation executes its task asynchronously.

ready

A Boolean value indicating whether the operation can be performed now.

name

The name of the operation.