Adds the specified operations to the queue.
- iOS 4.0+
- macOS 10.6+
- tvOS 9.0+
- watchOS 2.0+
The operations to be added to the queue.
true, the current thread is blocked until all of the specified operations finish executing. If
false, the operations are added to the queue and control returns immediately to the caller.
An operation object can be in at most one operation queue at a time and cannot be added if it is currently executing or finished. This method throws an
NSInvalid exception if any of those error conditions are true for any of the operations in the
Once added, the specified
operation remains in the queue until its
is method returns