Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSOperationMBS class.

NSOperationMBS.Close

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Threading MBS MacFrameworks Plugin 8.0 ✅ Yes ❌ No ❌ No ❌ No
The event called just before the operation object is destroyed.

NSOperationMBS.Finished

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Threading MBS MacFrameworks Plugin 8.0 ✅ Yes ❌ No ❌ No ❌ No
The event called after work has finished.

This event is called asynchronously on the main thread, so you can do GUI stuff here to show the result.
Not called if object is released earlier.

NSOperationMBS.Open

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Threading MBS MacFrameworks Plugin 8.0 ✅ Yes ❌ No ❌ No ❌ No
The event called when the object is created.

Called on the main thread.

NSOperationMBS.Work

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Threading MBS MacFrameworks Plugin 8.0 ✅ Yes ❌ No ❌ No ❌ No
The event called for an operation to do the work.

You should test isCancelled regularly to see whether operation was cancelled.

Please read on the ThreadMBS.Work event for more details.
(NSOperationMBS is a Mac OS X feature, but the ThreadMBS class, does nearly the same on all platforms)

The items on this page are in the following plugins: MBS MacFrameworks Plugin.


The biggest plugin in space...