Given a nonzero
suspensionID returned by an invocation of
suspendCurrentAppleEvent, returns the descriptor for the event whose handling was suspended.
The effects of mutating or retaining the returned descriptor are undefined, although it may be copied.
appleEventForSuspensionID: may be invoked in any thread, not just the one in which the corresponding invocation of
Suspending and resuming Apple events
Returns the descriptor for
currentAppleEvent if an Apple event is being handled on the current thread.
Returns the corresponding reply event descriptor if an Apple event is being handled on the current thread.
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.