Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSOperationQueueMBS class.
NSOperationQueueMBS.currentQueue as NSOperationQueueMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Threading | MBS MacFrameworks Plugin | 9.6 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns the operation queue that started the operation or nil if the queue could not be determined.
You can use this method from within a running operation object to get a reference to the operation queue that started it. Calling this method from outside the context of a running operation typically results in nil being returned.
Available in Mac OS X v10.6 and later.
NSOperationQueueMBS.mainQueue as NSOperationQueueMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Threading | MBS MacFrameworks Plugin | 9.6 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
The returned queue executes operations serially on the main thread. The main thread's run loop controls the execution times of these operations.
Available in Mac OS X v10.6 and later.
The items on this page are in the following plugins: MBS MacFrameworks Plugin.