---
title: "resume(withSuspensionID:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/nsappleeventmanager/resume(withsuspensionid:)"
---

# resume(withSuspensionID:)

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

## Declaration

```swift
func resume(withSuspensionID suspensionID: NSAppleEventManager.SuspensionID)
```

## Discussion

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

- [appleEvent(forSuspensionID:)](foundation/nsappleeventmanager/appleevent(forsuspensionid:).md)
- [currentAppleEvent](foundation/nsappleeventmanager/currentappleevent.md)
- [currentReplyAppleEvent](foundation/nsappleeventmanager/currentreplyappleevent.md)
- [replyAppleEvent(forSuspensionID:)](foundation/nsappleeventmanager/replyappleevent(forsuspensionid:).md)
- [setCurrentAppleEventAndReplyEventWithSuspensionID(_:)](foundation/nsappleeventmanager/setcurrentappleeventandreplyeventwithsuspensionid(_:).md)
- [suspendCurrentAppleEvent()](foundation/nsappleeventmanager/suspendcurrentappleevent().md)
- [NSAppleEventManager.SuspensionID](foundation/nsappleeventmanager/suspensionid.md)
