setCurrentAppleEventAndReplyEventWithSuspensionID(_:)
Given a nonzero suspensionID returned by an invocation of Suspendcurrentappleevent(), sets the values that will be returned by subsequent invocations of Currentappleevent and Currentreplyappleevent to be the event whose handling was suspended and its corresponding reply event, respectively.
Declaration
func setCurrentAppleEventAndReplyEventWithSuspensionID(_ suspensionID: NSAppleEventManager.SuspensionID)Discussion
Redundant invocations of setCurrentAppleEventAndReplyEventWithSuspensionID(_:) are ignored.