Contents

resume(withSuspensionID:)

Given a nonzero suspensionID returned by an invocation of Suspendcurrentappleevent(), signal that handling of the suspended event may now continue.

Declaration

func resume(withSuspensionID suspensionID: NSAppleEventManager.SuspensionID)

Discussion

This may result in the immediate sending of the reply event to the sender of the suspended event, if the sender has requested a reply. If suspensionID has been used in a previous invocation of setCurrentAppleEventAndReplyEventWithSuspensionID(_:) the effects of that invocation are completely undone. Redundant invocations of resume(withSuspensionID:) are ignored. Subsequent invocations of other NSAppleEventManager methods using the same suspension ID are invalid. resume(withSuspensionID:) may be invoked in any thread, not just the one in which the corresponding invocation of suspendCurrentAppleEvent() occurred.

See Also

Suspending and resuming Apple events