---
title: name
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/notificationcenter/asyncmessage/name
---

# name

A optional name corresponding to this type, used to interoperate with notification posters and observers.

## Declaration

```swift
static var name: Notification.Name { get }
```

## See Also

### Declaring the message name and subject

- [Subject](foundation/notificationcenter/asyncmessage/subject.md)
