suspendCurrentAppleEvent()
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.
Declaration
func suspendCurrentAppleEvent() -> NSAppleEventManager.SuspensionID?Discussion
An Apple event is being handled on the current thread if currentAppleEvent does not return nil. Returns zero otherwise. The suspended event is no longer the current event after this method returns.