Suspends the handling of the current event and returns an ID that must be used to resume the handling of the event if an Apple event is being handled on the current thread.
SDK
- macOS 10.3+
Framework
- Foundation
Declaration
func suspendCurrentAppleEvent() -> NSApple Event Manager.Suspension ID?
Discussion
An Apple event is being handled on the current thread if current
does not return nil
. Returns zero otherwise. The suspended event is no longer the current event after this method returns.