Instance Property

concurrent

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

Declaration

@property(readonly, getter=isConcurrent) BOOL concurrent;

Discussion

Use the asynchronous property instead.

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.

In macOS 10.6 and later, operation queues ignore the value in this property and always start operations on a separate thread.

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.

asynchronous

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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software