Contents

appleEvent(forSuspensionID:)

Given a nonzero suspensionID returned by an invocation of Suspendcurrentappleevent(), returns the descriptor for the event whose handling was suspended.

Declaration

func appleEvent(forSuspensionID suspensionID: NSAppleEventManager.SuspensionID) -> NSAppleEventDescriptor

Discussion

The effects of mutating or retaining the returned descriptor are undefined, although it may be copied. appleEvent(forSuspensionID:) 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