---
title: "notify_suspend(_:)"
framework: Darwin Notify
role: symbol
role_heading: Function
platforms: [iOS 4.0+, iPadOS 4.0+, Mac Catalyst 13.1+, macOS 10.6+, visionOS 1.0+, watchOS 2.0+]
path: "darwinnotify/notify_suspend(_:)"
---

# notify_suspend(_:)

## Declaration

```swift
func notify_suspend(_ token: Int32) -> UInt32
```

## Parameters

- `token`: (Input) notification token

## Return Value

Return Value Returns status.

## Discussion

Discussion Suspend delivery of notifications for a token. Notifications for this token will be pended and coalesced, then delivered following a matching call to notify_resume. Calls to notify_suspend may be nested. Notifications remain suspended until an equal number of calls have been made to notify_resume.

## See Also

### Miscellaneous

- [notify_cancel(_:)](darwinnotify/notify_cancel(_:).md)
- [notify_check(_:_:)](darwinnotify/notify_check(_:_:).md)
- [notify_get_state(_:_:)](darwinnotify/notify_get_state(_:_:).md)
- [notify_post(_:)](darwinnotify/notify_post(_:).md)
- [notify_register_check(_:_:)](darwinnotify/notify_register_check(_:_:).md)
- [notify_register_dispatch(_:_:_:_:)](darwinnotify/notify_register_dispatch(_:_:_:_:).md)
- [notify_register_mach_port(_:_:_:_:)](darwinnotify/notify_register_mach_port(_:_:_:_:).md)
- [notify_register_signal(_:_:_:)](darwinnotify/notify_register_signal(_:_:_:).md)
- [notify_resume(_:)](darwinnotify/notify_resume(_:).md)
- [notify_set_state(_:_:)](darwinnotify/notify_set_state(_:_:).md)
