---
title: notificationBarrier()
framework: coremedia
role: symbol
role_heading: Instance Method
path: coremedia/cmtimebase/notificationbarrier()
---

# notificationBarrier()

Requests that the timebase wait until it isn’t posting notifications.

## Declaration

```swift
func notificationBarrier() throws
```
