NotificationCenter.Notifications
An asynchronous sequence of notifications generated by a notification center.
Declaration
final class NotificationsOverview
Use the notifications(named:object:) method to create an instance of this type, then iterate over its elements with the for-await-in syntax.