<!--
{
  "documentType" : "article",
  "framework" : "CoreFoundation",
  "identifier" : "/documentation/CoreFoundation/1569610-notification-posting-options",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Notification Posting Options"
}
-->

# Notification Posting Options

Possible options when posting notifications.

## Discussion

Use these constants when calling the [`CFNotificationCenterPostNotificationWithOptions(_:_:_:_:_:)`](/documentation/CoreFoundation/CFNotificationCenterPostNotificationWithOptions(_:_:_:_:_:)) function.

## Topics

### Constants

[`var kCFNotificationDeliverImmediately: CFOptionFlags`](/documentation/CoreFoundation/kCFNotificationDeliverImmediately)

Delivers the notification immediately.

[`var kCFNotificationPostToAllSessions: CFOptionFlags`](/documentation/CoreFoundation/kCFNotificationPostToAllSessions)

Delivers the notification to all sessions.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)