---
title: NotificationQueue.PostingStyle.whenIdle
framework: foundation
role: symbol
role_heading: Case
path: foundation/notificationqueue/postingstyle/whenidle
---

# NotificationQueue.PostingStyle.whenIdle

The notification is posted when the run loop is idle.

## Declaration

```swift
case whenIdle
```

## See Also

### Constants

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