---
title: NotificationQueue.PostingStyle
framework: foundation
role: symbol
role_heading: Enumeration
path: foundation/notificationqueue/postingstyle
---

# NotificationQueue.PostingStyle

The constants that specify when notifications are posted.

## Declaration

```swift
enum PostingStyle
```

## Overview

Overview These constants are used by the enqueue(_:postingStyle:) and enqueue(_:postingStyle:coalesceMask:forModes:) methods.

## Topics

### Constants

- [NotificationQueue.PostingStyle.asap](foundation/notificationqueue/postingstyle/asap.md)
- [NotificationQueue.PostingStyle.whenIdle](foundation/notificationqueue/postingstyle/whenidle.md)
- [NotificationQueue.PostingStyle.now](foundation/notificationqueue/postingstyle/now.md)

### Initializers

- [init(rawValue:)](foundation/notificationqueue/postingstyle/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Constants

- [NotificationQueue.NotificationCoalescing](foundation/notificationqueue/notificationcoalescing.md)
